summaryrefslogtreecommitdiff
path: root/stoc/source/uriproc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:48:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:54:36 +0200
commitd15e0ff4fd120ede2bf5599f7323628c58c3df91 (patch)
treef85071ed07e2e09a1c2d165ed36cf90da92f7d44 /stoc/source/uriproc
parent254eb4186a286785baa58d2c1f8fe47ced608a34 (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): stoc
Change-Id: Id739d5ff815d3bb1db48e9b1c2b3f739e3f11dfd Reviewed-on: https://gerrit.libreoffice.org/76644 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'stoc/source/uriproc')
-rw-r--r--stoc/source/uriproc/ExternalUriReferenceTranslator.cxx2
-rw-r--r--stoc/source/uriproc/UriReferenceFactory.cxx2
-rw-r--r--stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx2
-rw-r--r--stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx2
-rw-r--r--stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
index 5aec7c3595b2..f7b99bf9a8e7 100644
--- a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
+++ b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
@@ -70,7 +70,7 @@ private:
OUString Translator::getImplementationName()
{
- return OUString("com.sun.star.comp.uri.ExternalUriReferenceTranslator");
+ return "com.sun.star.comp.uri.ExternalUriReferenceTranslator";
}
sal_Bool Translator::supportsService(OUString const & serviceName)
diff --git a/stoc/source/uriproc/UriReferenceFactory.cxx b/stoc/source/uriproc/UriReferenceFactory.cxx
index 2359bc31b403..d27d617074a3 100644
--- a/stoc/source/uriproc/UriReferenceFactory.cxx
+++ b/stoc/source/uriproc/UriReferenceFactory.cxx
@@ -287,7 +287,7 @@ private:
OUString Factory::getImplementationName()
{
- return OUString("com.sun.star.comp.uri.UriReferenceFactory");
+ return "com.sun.star.comp.uri.UriReferenceFactory";
}
sal_Bool Factory::supportsService(OUString const & serviceName)
diff --git a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
index 828ff085510a..105d00bb1e80 100644
--- a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
+++ b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
@@ -161,7 +161,7 @@ private:
OUString Parser::getImplementationName()
{
- return OUString("com.sun.star.comp.uri.UriSchemeParser_vndDOTsunDOTstarDOTexpand");
+ return "com.sun.star.comp.uri.UriSchemeParser_vndDOTsunDOTstarDOTexpand";
}
sal_Bool Parser::supportsService(OUString const & serviceName)
diff --git a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
index f12a74f3bdb8..2f4cb9e09071 100644
--- a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
+++ b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
@@ -375,7 +375,7 @@ private:
OUString Parser::getImplementationName()
{
- return OUString("com.sun.star.comp.uri.UriSchemeParser_vndDOTsunDOTstarDOTscript");
+ return "com.sun.star.comp.uri.UriSchemeParser_vndDOTsunDOTstarDOTscript";
}
sal_Bool Parser::supportsService(OUString const & serviceName)
diff --git a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
index 8d1ea79b1901..e2b37db202df 100644
--- a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
+++ b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
@@ -70,7 +70,7 @@ private:
OUString Factory::getImplementationName()
{
- return OUString("com.sun.star.comp.uri.VndSunStarPkgUrlReferenceFactory");
+ return "com.sun.star.comp.uri.VndSunStarPkgUrlReferenceFactory";
}
sal_Bool Factory::supportsService(OUString const & serviceName)