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>
This commit is contained in:
Stephan Bergmann 2019-07-30 17:48:22 +02:00
parent 0f1af34528
commit 254eb4186a
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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)