diff options
7 files changed, 7 insertions, 14 deletions
diff --git a/framework/source/accelerators/documentacceleratorconfiguration.cxx b/framework/source/accelerators/documentacceleratorconfiguration.cxx index 6bb7d6ef9e15..5794c0e9c30e 100644 --- a/framework/source/accelerators/documentacceleratorconfiguration.cxx +++ b/framework/source/accelerators/documentacceleratorconfiguration.cxx @@ -87,8 +87,7 @@ public: virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override { - css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.DocumentAcceleratorConfiguration" }; - return aSeq; + return {"com.sun.star.ui.DocumentAcceleratorConfiguration"}; } // XUIConfigurationStorage diff --git a/framework/source/accelerators/globalacceleratorconfiguration.cxx b/framework/source/accelerators/globalacceleratorconfiguration.cxx index 318326e98ee7..5104c242c791 100644 --- a/framework/source/accelerators/globalacceleratorconfiguration.cxx +++ b/framework/source/accelerators/globalacceleratorconfiguration.cxx @@ -72,8 +72,7 @@ public: virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override { - css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.GlobalAcceleratorConfiguration" }; - return aSeq; + return {"com.sun.star.ui.GlobalAcceleratorConfiguration"}; } // XComponent diff --git a/framework/source/accelerators/moduleacceleratorconfiguration.cxx b/framework/source/accelerators/moduleacceleratorconfiguration.cxx index 30745d883e67..4e1fc33c8f0a 100644 --- a/framework/source/accelerators/moduleacceleratorconfiguration.cxx +++ b/framework/source/accelerators/moduleacceleratorconfiguration.cxx @@ -86,8 +86,7 @@ public: virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override { - css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.ModuleAcceleratorConfiguration" }; - return aSeq; + return {"com.sun.star.ui.ModuleAcceleratorConfiguration"}; } // XComponent diff --git a/framework/source/jobs/jobexecutor.cxx b/framework/source/jobs/jobexecutor.cxx index 9912dafc0f9d..d4394078721f 100644 --- a/framework/source/jobs/jobexecutor.cxx +++ b/framework/source/jobs/jobexecutor.cxx @@ -101,8 +101,7 @@ public: virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override { - css::uno::Sequence< OUString > aSeq { "com.sun.star.task.JobExecutor" }; - return aSeq; + return {"com.sun.star.task.JobExecutor"}; } // task.XJobExecutor diff --git a/framework/source/uiconfiguration/moduleuicfgsupplier.cxx b/framework/source/uiconfiguration/moduleuicfgsupplier.cxx index f53b3584678e..7fe50526c919 100644 --- a/framework/source/uiconfiguration/moduleuicfgsupplier.cxx +++ b/framework/source/uiconfiguration/moduleuicfgsupplier.cxx @@ -80,8 +80,7 @@ public: virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override { - css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.ModuleUIConfigurationManagerSupplier" }; - return aSeq; + return {"com.sun.star.ui.ModuleUIConfigurationManagerSupplier"}; } // XModuleUIConfigurationManagerSupplier diff --git a/framework/source/uiconfiguration/uicategorydescription.cxx b/framework/source/uiconfiguration/uicategorydescription.cxx index a7319de194f0..3d9476bfc724 100644 --- a/framework/source/uiconfiguration/uicategorydescription.cxx +++ b/framework/source/uiconfiguration/uicategorydescription.cxx @@ -390,8 +390,7 @@ public: virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override { - css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.UICategoryDescription" }; - return aSeq; + return {"com.sun.star.ui.UICategoryDescription"}; } }; diff --git a/framework/source/uifactory/uielementfactorymanager.cxx b/framework/source/uifactory/uielementfactorymanager.cxx index fab00c2e49a4..f3ea311ee815 100644 --- a/framework/source/uifactory/uielementfactorymanager.cxx +++ b/framework/source/uifactory/uielementfactorymanager.cxx @@ -369,8 +369,7 @@ public: virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override { - css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.UIElementFactoryManager" }; - return aSeq; + return {"com.sun.star.ui.UIElementFactoryManager"}; } // XUIElementFactory |