diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:57:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 13:00:19 +0200 |
commit | 6c145a826f4ecebcc387b0bd1dac018980b90bf9 (patch) | |
tree | 6dd0ab369b72207183302502cf008065eda6362e /configmgr | |
parent | d4ef035e2d08ad91e6fccd58590abdff0d6260c7 (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): configmgr
Change-Id: Ie82faef06ea13d1a0d3007915334822d3f4f94e3
Reviewed-on: https://gerrit.libreoffice.org/76690
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/access.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/configurationprovider.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/configurationregistry.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/defaultprovider.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/localizedvaluenode.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/readonlyaccess.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/readwriteaccess.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/rootaccess.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/update.cxx | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx index f4d8521dffc7..9fe7f31cc00f 100644 --- a/configmgr/source/access.cxx +++ b/configmgr/source/access.cxx @@ -232,7 +232,7 @@ OUString Access::getImplementationName() assert(thisIs(IS_ANY)); osl::MutexGuard g(*lock_); checkLocalizedPropertyAccess(); - return OUString("org.openoffice-configmgr::Access"); + return "org.openoffice-configmgr::Access"; } sal_Bool Access::supportsService(OUString const & ServiceName) diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx index 5c50aa8b1ec0..aa9db3a394f0 100644 --- a/configmgr/source/configurationprovider.cxx +++ b/configmgr/source/configurationprovider.cxx @@ -444,7 +444,7 @@ css::uno::Reference< css::uno::XInterface > createDefault( } OUString getImplementationName() { - return OUString("com.sun.star.comp.configuration.ConfigurationProvider"); + return "com.sun.star.comp.configuration.ConfigurationProvider"; } css::uno::Sequence< OUString > getSupportedServiceNames() { diff --git a/configmgr/source/configurationregistry.cxx b/configmgr/source/configurationregistry.cxx index abca258b3b28..f27e3c7b88cc 100644 --- a/configmgr/source/configurationregistry.cxx +++ b/configmgr/source/configurationregistry.cxx @@ -637,7 +637,7 @@ css::uno::Reference< css::uno::XInterface > create( } OUString getImplementationName() { - return OUString("com.sun.star.comp.configuration.ConfigurationRegistry"); + return "com.sun.star.comp.configuration.ConfigurationRegistry"; } css::uno::Sequence< OUString > getSupportedServiceNames() { diff --git a/configmgr/source/defaultprovider.cxx b/configmgr/source/defaultprovider.cxx index 7459ca016396..c456954bb332 100644 --- a/configmgr/source/defaultprovider.cxx +++ b/configmgr/source/defaultprovider.cxx @@ -41,7 +41,7 @@ css::uno::Reference< css::uno::XInterface > create( } OUString getImplementationName() { - return OUString("com.sun.star.comp.configuration.DefaultProvider"); + return "com.sun.star.comp.configuration.DefaultProvider"; } css::uno::Sequence< OUString > getSupportedServiceNames() { diff --git a/configmgr/source/localizedvaluenode.cxx b/configmgr/source/localizedvaluenode.cxx index 91587bfa13c9..6404ff7a06a7 100644 --- a/configmgr/source/localizedvaluenode.cxx +++ b/configmgr/source/localizedvaluenode.cxx @@ -41,7 +41,7 @@ rtl::Reference< Node > LocalizedValueNode::clone(bool) const { } OUString LocalizedValueNode::getTemplateName() const { - return OUString("*"); + return "*"; } diff --git a/configmgr/source/readonlyaccess.cxx b/configmgr/source/readonlyaccess.cxx index ec8adab39848..079459dc747f 100644 --- a/configmgr/source/readonlyaccess.cxx +++ b/configmgr/source/readonlyaccess.cxx @@ -117,7 +117,7 @@ css::uno::Reference< css::uno::XInterface > create( } OUString getImplementationName() { - return OUString("com.sun.star.comp.configuration.ReadOnlyAccess"); + return "com.sun.star.comp.configuration.ReadOnlyAccess"; } css::uno::Sequence< OUString > getSupportedServiceNames() { diff --git a/configmgr/source/readwriteaccess.cxx b/configmgr/source/readwriteaccess.cxx index 4506b10ce3c0..3cbf006c8ad4 100644 --- a/configmgr/source/readwriteaccess.cxx +++ b/configmgr/source/readwriteaccess.cxx @@ -139,7 +139,7 @@ css::uno::Reference< css::uno::XInterface > create( } OUString getImplementationName() { - return OUString("com.sun.star.comp.configuration.ReadWriteAccess"); + return "com.sun.star.comp.configuration.ReadWriteAccess"; } css::uno::Sequence< OUString > getSupportedServiceNames() { diff --git a/configmgr/source/rootaccess.cxx b/configmgr/source/rootaccess.cxx index 0db8b7ed5480..202a8a377ee8 100644 --- a/configmgr/source/rootaccess.cxx +++ b/configmgr/source/rootaccess.cxx @@ -303,7 +303,7 @@ OUString RootAccess::getImplementationName() assert(thisIs(IS_ANY)); osl::MutexGuard g(*lock_); checkLocalizedPropertyAccess(); - return OUString("configmgr.RootAccess"); + return "configmgr.RootAccess"; } } diff --git a/configmgr/source/update.cxx b/configmgr/source/update.cxx index f6d899764e47..046fea4b0285 100644 --- a/configmgr/source/update.cxx +++ b/configmgr/source/update.cxx @@ -148,7 +148,7 @@ css::uno::Reference< css::uno::XInterface > create( } OUString getImplementationName() { - return OUString("com.sun.star.comp.configuration.Update"); + return "com.sun.star.comp.configuration.Update"; } css::uno::Sequence< OUString > getSupportedServiceNames() { |