diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:54:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:58:15 +0200 |
commit | 1c099989523fa1d969a44cc99a2478df35537a2d (patch) | |
tree | 049768012d98e84e464a16e1bb36c4bf82dd1525 /framework/source/uifactory | |
parent | 421fcc61bf2d1a5dca5bd5499f713d67e1a4a0df (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): framework
Change-Id: Ia6eef000a712c9f23f81eaf6d27f5a236da9b24d
Reviewed-on: https://gerrit.libreoffice.org/76673
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'framework/source/uifactory')
6 files changed, 8 insertions, 8 deletions
diff --git a/framework/source/uifactory/addonstoolbarfactory.cxx b/framework/source/uifactory/addonstoolbarfactory.cxx index a9b895589202..8ee041dea6eb 100644 --- a/framework/source/uifactory/addonstoolbarfactory.cxx +++ b/framework/source/uifactory/addonstoolbarfactory.cxx @@ -55,7 +55,7 @@ public: virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.framework.AddonsToolBarFactory"); + return "com.sun.star.comp.framework.AddonsToolBarFactory"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override diff --git a/framework/source/uifactory/statusbarfactory.cxx b/framework/source/uifactory/statusbarfactory.cxx index 085062afd0f2..5756fb3465ca 100644 --- a/framework/source/uifactory/statusbarfactory.cxx +++ b/framework/source/uifactory/statusbarfactory.cxx @@ -41,7 +41,7 @@ public: virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.framework.StatusBarFactory"); + return "com.sun.star.comp.framework.StatusBarFactory"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override diff --git a/framework/source/uifactory/toolbarfactory.cxx b/framework/source/uifactory/toolbarfactory.cxx index cc44bfb58360..28a6da218250 100644 --- a/framework/source/uifactory/toolbarfactory.cxx +++ b/framework/source/uifactory/toolbarfactory.cxx @@ -39,7 +39,7 @@ public: virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.framework.ToolBarFactory"); + return "com.sun.star.comp.framework.ToolBarFactory"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override diff --git a/framework/source/uifactory/uicontrollerfactory.cxx b/framework/source/uifactory/uicontrollerfactory.cxx index 335854e01685..61d2e3f5f921 100644 --- a/framework/source/uifactory/uicontrollerfactory.cxx +++ b/framework/source/uifactory/uicontrollerfactory.cxx @@ -239,7 +239,7 @@ public: virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.framework.PopupMenuControllerFactory"); + return "com.sun.star.comp.framework.PopupMenuControllerFactory"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override @@ -284,7 +284,7 @@ public: virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.framework.ToolBarControllerFactory"); + return "com.sun.star.comp.framework.ToolBarControllerFactory"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override @@ -329,7 +329,7 @@ public: virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.framework.StatusBarControllerFactory"); + return "com.sun.star.comp.framework.StatusBarControllerFactory"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override diff --git a/framework/source/uifactory/uielementfactorymanager.cxx b/framework/source/uifactory/uielementfactorymanager.cxx index de9f6ce5d893..ff93a1e7d256 100644 --- a/framework/source/uifactory/uielementfactorymanager.cxx +++ b/framework/source/uifactory/uielementfactorymanager.cxx @@ -350,7 +350,7 @@ public: virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.framework.UIElementFactoryManager"); + return "com.sun.star.comp.framework.UIElementFactoryManager"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override diff --git a/framework/source/uifactory/windowcontentfactorymanager.cxx b/framework/source/uifactory/windowcontentfactorymanager.cxx index 4dc65aa5a66c..4352bb7a8934 100644 --- a/framework/source/uifactory/windowcontentfactorymanager.cxx +++ b/framework/source/uifactory/windowcontentfactorymanager.cxx @@ -54,7 +54,7 @@ public: virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.framework.WindowContentFactoryManager"); + return "com.sun.star.comp.framework.WindowContentFactoryManager"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override |