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 /cppuhelper | |
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 'cppuhelper')
-rw-r--r-- | cppuhelper/source/servicemanager.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx index 9f235f4fe772..8f49b4ecb908 100644 --- a/cppuhelper/source/servicemanager.cxx +++ b/cppuhelper/source/servicemanager.cxx @@ -907,10 +907,7 @@ sal_Bool cppuhelper::ServiceManager::supportsService( css::uno::Sequence< OUString > cppuhelper::ServiceManager::getSupportedServiceNames() { - css::uno::Sequence< OUString > names(2); - names[0] = "com.sun.star.lang.MultiServiceFactory"; - names[1] = "com.sun.star.lang.ServiceManager"; - return names; + return { "com.sun.star.lang.MultiServiceFactory", "com.sun.star.lang.ServiceManager" }; } css::uno::Reference< css::uno::XInterface > |