diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:49:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:55:55 +0200 |
commit | fee4b54d1c0eaf37dc1a08e4570642028a5c19fb (patch) | |
tree | 7ac907885922212f530eea15b5f25de8fec0d531 /sax/source/expatwrap | |
parent | ef59252a7a3e9474569710866ab4ff5c1225cff7 (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): sax
Change-Id: I2b8122f9633a0c4450e7a453abdb15f14c16d178
Reviewed-on: https://gerrit.libreoffice.org/76655
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sax/source/expatwrap')
-rw-r--r-- | sax/source/expatwrap/sax_expat.cxx | 2 | ||||
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx index 2ba000328529..87225fac08dd 100644 --- a/sax/source/expatwrap/sax_expat.cxx +++ b/sax/source/expatwrap/sax_expat.cxx @@ -518,7 +518,7 @@ void SaxExpatParser::setLocale( const Locale & ) // XServiceInfo OUString SaxExpatParser::getImplementationName() { - return OUString("com.sun.star.comp.extensions.xml.sax.ParserExpat"); + return "com.sun.star.comp.extensions.xml.sax.ParserExpat"; } // XServiceInfo diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index 52160629f574..321c87b2e28b 100644 --- a/sax/source/expatwrap/saxwriter.cxx +++ b/sax/source/expatwrap/saxwriter.cxx @@ -1043,7 +1043,7 @@ bool isFirstCharWhitespace( const sal_Unicode *p ) throw() // XServiceInfo OUString SAXWriter::getImplementationName() { - return OUString("com.sun.star.extensions.xml.sax.Writer"); + return "com.sun.star.extensions.xml.sax.Writer"; } // XServiceInfo |