summaryrefslogtreecommitdiff
path: root/framework/source/services
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/services
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/services')
-rw-r--r--framework/source/services/ContextChangeEventMultiplexer.cxx2
-rw-r--r--framework/source/services/autorecovery.cxx2
-rw-r--r--framework/source/services/desktop.cxx2
-rw-r--r--framework/source/services/frame.cxx2
-rw-r--r--framework/source/services/modulemanager.cxx2
-rw-r--r--framework/source/services/pathsettings.cxx2
-rw-r--r--framework/source/services/sessionlistener.cxx2
-rw-r--r--framework/source/services/substitutepathvars.cxx2
-rw-r--r--framework/source/services/taskcreatorsrv.cxx2
-rw-r--r--framework/source/services/urltransformer.cxx2
10 files changed, 10 insertions, 10 deletions
diff --git a/framework/source/services/ContextChangeEventMultiplexer.cxx b/framework/source/services/ContextChangeEventMultiplexer.cxx
index e8e1c769d1f2..b64a4e131717 100644
--- a/framework/source/services/ContextChangeEventMultiplexer.cxx
+++ b/framework/source/services/ContextChangeEventMultiplexer.cxx
@@ -281,7 +281,7 @@ ContextChangeEventMultiplexer::FocusDescriptor* ContextChangeEventMultiplexer::G
OUString SAL_CALL ContextChangeEventMultiplexer::getImplementationName()
{
- return OUString("org.apache.openoffice.comp.framework.ContextChangeEventMultiplexer");
+ return "org.apache.openoffice.comp.framework.ContextChangeEventMultiplexer";
}
sal_Bool SAL_CALL ContextChangeEventMultiplexer::supportsService ( const OUString& rsServiceName)
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index cb9726ae1a01..35d5f0a0d8ea 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -446,7 +446,7 @@ public:
virtual OUString SAL_CALL getImplementationName() override
{
- return OUString("com.sun.star.comp.framework.AutoRecovery");
+ return "com.sun.star.comp.framework.AutoRecovery";
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index c9fa016790cf..ce3c4ed06d95 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -81,7 +81,7 @@ enum PropHandle {
OUString SAL_CALL Desktop::getImplementationName()
{
- return OUString("com.sun.star.comp.framework.Desktop");
+ return "com.sun.star.comp.framework.Desktop";
}
sal_Bool SAL_CALL Desktop::supportsService(OUString const & ServiceName)
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 3bd44ff45b94..6b23a12b6e42 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -126,7 +126,7 @@ public:
virtual OUString SAL_CALL getImplementationName() override
{
- return OUString("com.sun.star.comp.framework.Frame");
+ return "com.sun.star.comp.framework.Frame";
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
diff --git a/framework/source/services/modulemanager.cxx b/framework/source/services/modulemanager.cxx
index d8b24d3aef76..96d400bb5ecc 100644
--- a/framework/source/services/modulemanager.cxx
+++ b/framework/source/services/modulemanager.cxx
@@ -134,7 +134,7 @@ ModuleManager::ModuleManager(const css::uno::Reference< css::uno::XComponentCont
OUString ModuleManager::getImplementationName()
{
- return OUString("com.sun.star.comp.framework.ModuleManager");
+ return "com.sun.star.comp.framework.ModuleManager";
}
sal_Bool ModuleManager::supportsService(OUString const & ServiceName)
diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx
index a008a3a97578..6a6363217b43 100644
--- a/framework/source/services/pathsettings.cxx
+++ b/framework/source/services/pathsettings.cxx
@@ -175,7 +175,7 @@ public:
virtual OUString SAL_CALL getImplementationName() override
{
- return OUString("com.sun.star.comp.framework.PathSettings");
+ return "com.sun.star.comp.framework.PathSettings";
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
diff --git a/framework/source/services/sessionlistener.cxx b/framework/source/services/sessionlistener.cxx
index db19346d7f76..f88fd258c1e6 100644
--- a/framework/source/services/sessionlistener.cxx
+++ b/framework/source/services/sessionlistener.cxx
@@ -112,7 +112,7 @@ public:
virtual OUString SAL_CALL getImplementationName() override
{
- return OUString("com.sun.star.comp.frame.SessionListener");
+ return "com.sun.star.comp.frame.SessionListener";
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index 87885f64072e..1836fa00e554 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -141,7 +141,7 @@ public:
virtual OUString SAL_CALL getImplementationName() override
{
- return OUString("com.sun.star.comp.framework.PathSubstitution");
+ return "com.sun.star.comp.framework.PathSubstitution";
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
diff --git a/framework/source/services/taskcreatorsrv.cxx b/framework/source/services/taskcreatorsrv.cxx
index 532c96c401f3..04d4f98fe776 100644
--- a/framework/source/services/taskcreatorsrv.cxx
+++ b/framework/source/services/taskcreatorsrv.cxx
@@ -67,7 +67,7 @@ public:
virtual OUString SAL_CALL getImplementationName() override
{
- return OUString("com.sun.star.comp.framework.TaskCreator");
+ return "com.sun.star.comp.framework.TaskCreator";
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
diff --git a/framework/source/services/urltransformer.cxx b/framework/source/services/urltransformer.cxx
index 5c666103e138..a769790d22c8 100644
--- a/framework/source/services/urltransformer.cxx
+++ b/framework/source/services/urltransformer.cxx
@@ -39,7 +39,7 @@ public:
virtual OUString SAL_CALL getImplementationName() override
{
- return OUString("com.sun.star.comp.framework.URLTransformer");
+ return "com.sun.star.comp.framework.URLTransformer";
}
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override