summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:48:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:54:31 +0200
commit254eb4186a286785baa58d2c1f8fe47ced608a34 (patch)
tree990fafbbea70fcdb66ac58a796a10680cab71787 /svgio
parent0f1af34528565809affd76d5efa49b254bc26145 (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): svgio
Change-Id: I998fb299c52766dc7240926af69ce25347f79505 Reviewed-on: https://gerrit.libreoffice.org/76643 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svgio')
-rw-r--r--svgio/source/svgreader/svgtoken.cxx4
-rw-r--r--svgio/source/svguno/xsvgparser.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/svgio/source/svgreader/svgtoken.cxx b/svgio/source/svgreader/svgtoken.cxx
index 6215cc0c6db5..9e286c128d09 100644
--- a/svgio/source/svgreader/svgtoken.cxx
+++ b/svgio/source/svgreader/svgtoken.cxx
@@ -355,12 +355,12 @@ namespace svgio
const OUString getStrTitle()
{
- return OUString(aSVGStrTitle);
+ return aSVGStrTitle;
}
const OUString getStrDesc()
{
- return OUString(aSVGStrDesc);
+ return aSVGStrDesc;
}
} // end of namespace svgreader
} // end of namespace svgio
diff --git a/svgio/source/svguno/xsvgparser.cxx b/svgio/source/svguno/xsvgparser.cxx
index 57c1c81ed28f..f7fbcc59cf0b 100644
--- a/svgio/source/svguno/xsvgparser.cxx
+++ b/svgio/source/svguno/xsvgparser.cxx
@@ -86,7 +86,7 @@ namespace svgio
OUString XSvgParser_getImplementationName()
{
- return OUString( "svgio::svgreader::XSvgParser" );
+ return "svgio::svgreader::XSvgParser";
}
uno::Reference< uno::XInterface > XSvgParser_createInstance(const uno::Reference< uno::XComponentContext >& context)