diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-08-17 15:53:39 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-17 17:03:04 +0200 |
commit | b1d8262dad9939ffbf38f288d0ec60727e3742fb (patch) | |
tree | 6ccc8f73a2b5e3ece828ad5985a9fd2225b5a057 /extensions | |
parent | 86e8c23988294003fc1972258de9d2e4a588adbc (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in cppuhelper, desktop, drawinglayer, embeddedobj, extensions
Change-Id: I4c970f08c0723299f79c9e18bc71b7372a7092e4
Reviewed-on: https://gerrit.libreoffice.org/77636
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/bibload.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index 21676f75e10b..04f2860d3951 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -182,12 +182,7 @@ Sequence< OUString > BibliographyLoader::getSupportedServiceNames() // ORegistryServiceManager_Static Sequence< OUString > BibliographyLoader::getSupportedServiceNames_Static() throw( ) { - Sequence< OUString > aSNS( 2 ); - aSNS.getArray()[0] = "com.sun.star.frame.FrameLoader"; - //! - aSNS.getArray()[1] = "com.sun.star.frame.Bibliography"; - //! - return aSNS; + return { "com.sun.star.frame.FrameLoader", "com.sun.star.frame.Bibliography" }; } extern "C" |