diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-05-22 13:49:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-05-22 16:35:20 +0200 |
commit | c18e2ea2a52fc171c50fcb22d431e94c6aececc5 (patch) | |
tree | a63721b18626947e5278a51feb7fd64604e80eee /cppuhelper/source/defaultbootstrap.cxx | |
parent | Spell out element access explicitly in test code (diff) | |
download | core-c18e2ea2a52fc171c50fcb22d431e94c6aececc5.tar.gz core-c18e2ea2a52fc171c50fcb22d431e94c6aececc5.zip |
New loplugin:data
...following up on 1453c2c8f13bac64ecd1981af7cebf1c421808ac "prefer vector::data
to &vector[0]"
Change-Id: I7c113747d92d144a521d49b89384dd8bf1215c01
Reviewed-on: https://gerrit.libreoffice.org/72765
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cppuhelper/source/defaultbootstrap.cxx')
-rw-r--r-- | cppuhelper/source/defaultbootstrap.cxx | 2 |
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; |