summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-23 15:52:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-23 19:49:49 +0200
commit37587df6242e232f27b31e3dd6ade29aa6cf2555 (patch)
tree225d7fc509404711835554542db0f7ac2f09e132 /cppuhelper
parent402f0418e7fff24b2b960eafd63ca06447f50c20 (diff)
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@redhat.com>
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/defaultbootstrap.cxx2
1 files changed, 0 insertions, 2 deletions
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);