From 1ef9f3988ee4dcbc77e1fdefa20442e044a67d4d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 30 Jan 2016 19:09:35 +0200 Subject: unnecessary use of OUString constructor Change-Id: Idd31b0a53c8318af69bbcd32f6798721ec8eb8e1 Reviewed-on: https://gerrit.libreoffice.org/21945 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/text/txtparae.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff/source/text') diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 895c0f08802a..708334b999d6 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -1027,9 +1027,9 @@ void XMLTextParagraphExport::exportListChange( eLName = ( rNextInfo.IsNumbered() || nListLevelsToBeOpened > 1 ) ? XML_LIST_ITEM : XML_LIST_HEADER; - aElem = OUString( GetExport().GetNamespaceMap().GetQNameByKey( + aElem = GetExport().GetNamespaceMap().GetQNameByKey( XML_NAMESPACE_TEXT, - GetXMLToken(eLName) ) ); + GetXMLToken(eLName) ); GetExport().IgnorableWhitespace(); GetExport().StartElement(aElem, false); pListElements->push_back(aElem); -- cgit