summaryrefslogtreecommitdiffstats
path: root/cppuhelper/source/defaultbootstrap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/defaultbootstrap.cxx')
-rw-r--r--cppuhelper/source/defaultbootstrap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/defaultbootstrap.cxx b/cppuhelper/source/defaultbootstrap.cxx
index c2d69990bf24..4796c92e9fa5 100644
--- a/cppuhelper/source/defaultbootstrap.cxx
+++ b/cppuhelper/source/defaultbootstrap.cxx
@@ -92,7 +92,7 @@ cppu::defaultBootstrap_InitialComponentContext(OUString const & iniUri)
true));
assert(!context_values.empty());
css::uno::Reference< css::uno::XComponentContext > context(
- createComponentContext(&context_values[0], context_values.size()));
+ createComponentContext(context_values.data(), context_values.size()));
smgr->setContext(context);
cppu::installTypeDescriptionManager(tmgr.get());
return context;