From fee4b54d1c0eaf37dc1a08e4570642028a5c19fb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 30 Jul 2019 17:49:49 +0200 Subject: 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 --- sax/source/expatwrap/sax_expat.cxx | 2 +- sax/source/expatwrap/saxwriter.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sax/source/expatwrap') 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 -- cgit