[Libreoffice-commits] core.git: cppuhelper/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 23 17:50:33 UTC 2020
cppuhelper/source/defaultbootstrap.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 37587df6242e232f27b31e3dd6ade29aa6cf2555
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 23 15:52:15 2020 +0200
Commit: Stephan Bergmann <sbergman at 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 <sbergman at 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);
More information about the Libreoffice-commits
mailing list