diff options
Diffstat (limited to 'cppuhelper/source/servicemanager.cxx')
-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 > |