summaryrefslogtreecommitdiff
path: root/framework/source/accelerators
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:54:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:58:15 +0200
commit1c099989523fa1d969a44cc99a2478df35537a2d (patch)
tree049768012d98e84e464a16e1bb36c4bf82dd1525 /framework/source/accelerators
parent421fcc61bf2d1a5dca5bd5499f713d67e1a4a0df (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/accelerators')
-rw-r--r--framework/source/accelerators/acceleratorconfiguration.cxx4
-rw-r--r--framework/source/accelerators/documentacceleratorconfiguration.cxx2
-rw-r--r--framework/source/accelerators/globalacceleratorconfiguration.cxx2
-rw-r--r--framework/source/accelerators/moduleacceleratorconfiguration.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx
index f32bc17f432d..0f0485355668 100644
--- a/framework/source/accelerators/acceleratorconfiguration.cxx
+++ b/framework/source/accelerators/acceleratorconfiguration.cxx
@@ -471,7 +471,7 @@ OUString XMLBasedAcceleratorConfiguration::impl_ts_getLocale() const
OUString sISOLocale = officecfg::Setup::L10N::ooLocale::get();
if (sISOLocale.isEmpty())
- return OUString("en-US");
+ return "en-US";
return sISOLocale;
}
@@ -1326,7 +1326,7 @@ OUString XCUBasedAcceleratorConfiguration::impl_ts_getLocale() const
OUString sISOLocale = officecfg::Setup::L10N::ooLocale::get();
if (sISOLocale.isEmpty())
- return OUString("en-US");
+ return "en-US";
return sISOLocale;
}
diff --git a/framework/source/accelerators/documentacceleratorconfiguration.cxx b/framework/source/accelerators/documentacceleratorconfiguration.cxx
index bb7461aa17a8..74b01f157a31 100644
--- a/framework/source/accelerators/documentacceleratorconfiguration.cxx
+++ b/framework/source/accelerators/documentacceleratorconfiguration.cxx
@@ -74,7 +74,7 @@ public:
virtual OUString SAL_CALL getImplementationName() override
{
- return OUString("com.sun.star.comp.framework.DocumentAcceleratorConfiguration");
+ return "com.sun.star.comp.framework.DocumentAcceleratorConfiguration";
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
diff --git a/framework/source/accelerators/globalacceleratorconfiguration.cxx b/framework/source/accelerators/globalacceleratorconfiguration.cxx
index 8c60e7c4574f..da4a177db175 100644
--- a/framework/source/accelerators/globalacceleratorconfiguration.cxx
+++ b/framework/source/accelerators/globalacceleratorconfiguration.cxx
@@ -57,7 +57,7 @@ public:
virtual OUString SAL_CALL getImplementationName() override
{
- return OUString("com.sun.star.comp.framework.GlobalAcceleratorConfiguration");
+ return "com.sun.star.comp.framework.GlobalAcceleratorConfiguration";
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
diff --git a/framework/source/accelerators/moduleacceleratorconfiguration.cxx b/framework/source/accelerators/moduleacceleratorconfiguration.cxx
index 6cdf214ad013..b785ddd6ecc4 100644
--- a/framework/source/accelerators/moduleacceleratorconfiguration.cxx
+++ b/framework/source/accelerators/moduleacceleratorconfiguration.cxx
@@ -69,7 +69,7 @@ public:
virtual OUString SAL_CALL getImplementationName() override
{
- return OUString("com.sun.star.comp.framework.ModuleAcceleratorConfiguration");
+ return "com.sun.star.comp.framework.ModuleAcceleratorConfiguration";
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override