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/inc | |
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/inc')
-rw-r--r-- | framework/inc/helper/statusindicatorfactory.hxx | 2 | ||||
-rw-r--r-- | framework/inc/macros/xserviceinfo.hxx | 2 | ||||
-rw-r--r-- | framework/inc/services/layoutmanager.hxx | 2 | ||||
-rw-r--r-- | framework/inc/uiconfiguration/imagemanager.hxx | 2 | ||||
-rw-r--r-- | framework/inc/uielement/uicommanddescription.hxx | 2 | ||||
-rw-r--r-- | framework/inc/uifactory/menubarfactory.hxx | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/framework/inc/helper/statusindicatorfactory.hxx b/framework/inc/helper/statusindicatorfactory.hxx index ac7a0655adc1..a2a073821d8e 100644 --- a/framework/inc/helper/statusindicatorfactory.hxx +++ b/framework/inc/helper/statusindicatorfactory.hxx @@ -192,7 +192,7 @@ class StatusIndicatorFactory : public ::cppu::WeakImplHelper< virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.framework.StatusIndicatorFactory"); + return "com.sun.star.comp.framework.StatusIndicatorFactory"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override diff --git a/framework/inc/macros/xserviceinfo.hxx b/framework/inc/macros/xserviceinfo.hxx index f617601720b6..2eff0d2b14be 100644 --- a/framework/inc/macros/xserviceinfo.hxx +++ b/framework/inc/macros/xserviceinfo.hxx @@ -71,7 +71,7 @@ namespace framework{ \ OUString CLASS::impl_getStaticImplementationName() \ { \ - return OUString(IMPLEMENTATIONNAME); \ + return IMPLEMENTATIONNAME; \ } #define PRIVATE_DEFINE_XSERVICEINFO_OLDSTYLE( CLASS, XINTERFACECAST, SERVICENAME, IMPLEMENTATIONNAME ) \ diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx index ed43e2c31828..a1b7eecf360f 100644 --- a/framework/inc/services/layoutmanager.hxx +++ b/framework/inc/services/layoutmanager.hxx @@ -82,7 +82,7 @@ namespace framework DECLARE_XTYPEPROVIDER() virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.framework.LayoutManager"); + return "com.sun.star.comp.framework.LayoutManager"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override diff --git a/framework/inc/uiconfiguration/imagemanager.hxx b/framework/inc/uiconfiguration/imagemanager.hxx index 07cb6166c385..ff6f5bd3aa88 100644 --- a/framework/inc/uiconfiguration/imagemanager.hxx +++ b/framework/inc/uiconfiguration/imagemanager.hxx @@ -56,7 +56,7 @@ namespace framework virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.framework.ImageManager"); + return "com.sun.star.comp.framework.ImageManager"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override diff --git a/framework/inc/uielement/uicommanddescription.hxx b/framework/inc/uielement/uicommanddescription.hxx index 92a2362b25a3..e78dbab99a15 100644 --- a/framework/inc/uielement/uicommanddescription.hxx +++ b/framework/inc/uielement/uicommanddescription.hxx @@ -46,7 +46,7 @@ class UICommandDescription : private cppu::BaseMutex, virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.framework.UICommandDescription"); + return "com.sun.star.comp.framework.UICommandDescription"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override diff --git a/framework/inc/uifactory/menubarfactory.hxx b/framework/inc/uifactory/menubarfactory.hxx index 78e154813193..edc976db3634 100644 --- a/framework/inc/uifactory/menubarfactory.hxx +++ b/framework/inc/uifactory/menubarfactory.hxx @@ -44,7 +44,7 @@ typedef ::cppu::WeakImplHelper< virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.framework.MenuBarFactory"); + return "com.sun.star.comp.framework.MenuBarFactory"; } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override |