cppuhelper/source/defaultbootstrap.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 37587df6242e232f27b31e3dd6ade29aa6cf2555
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Jul 23 15:52:15 2020 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Jul 23 19:49:49 2020 +0200

    Remove no longer relevant assert
    
    ...that was apparently meant to guard the following
    
      &context_values[0]
    
    that got changed to
    
      context_values.data()
    
    in c18e2ea2a52fc171c50fcb22d431e94c6aececc5 "New loplugin:data"
    
    Change-Id: Ic63d8e775f3b75cca7df2b08665cccc0b4c3ec3e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99316
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/cppuhelper/source/defaultbootstrap.cxx 
b/cppuhelper/source/defaultbootstrap.cxx
index 4796c92e9fa5..bf518a0c1f5d 100644
--- a/cppuhelper/source/defaultbootstrap.cxx
+++ b/cppuhelper/source/defaultbootstrap.cxx
@@ -9,7 +9,6 @@
 
 #include <sal/config.h>
 
-#include <cassert>
 #include <vector>
 
 #include <com/sun/star/uno/DeploymentException.hpp>
@@ -90,7 +89,6 @@ cppu::defaultBootstrap_InitialComponentContext(OUString const 
& iniUri)
             css::uno::Any(
                 OUString("com.sun.star.security.AccessController")),
             true));
-    assert(!context_values.empty());
     css::uno::Reference< css::uno::XComponentContext > context(
         createComponentContext(context_values.data(), context_values.size()));
     smgr->setContext(context);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to