summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:36:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:36:46 +0100
commit1a3834d7b9382968cf7ba3755d41a6e317997aec (patch)
tree31a64605e1af0655ed2c077c9ee047b16c4d5268 /sax
parent369be908c37ca0d062ab94355b01badc51f793fa (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: Id1a67eb7ed5b76a7ad8902a80840a891e2ef8442
Diffstat (limited to 'sax')
-rw-r--r--sax/source/fastparser/fastparser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index d8baef9cb282..b68f6e6f7886 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -1042,7 +1042,7 @@ void FastSaxParserImpl::callbackStartElement(const xmlChar *localName , const xm
if( rEntity.maNamespaceCount.empty() )
{
rEntity.maNamespaceCount.push(0);
- DefineNamespace( OString("xml"), OUString( "http://www.w3.org/XML/1998/namespace" ));
+ DefineNamespace( OString("xml"), "http://www.w3.org/XML/1998/namespace");
}
else
{