diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:15:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:15:54 +0200 |
commit | ba9c7c92d6cf431868846d28b74f8b2342334b4e (patch) | |
tree | 97279b6f071f43c30024d243c620b35ef36dd2be /xmloff | |
parent | d31dc1555054fbc81ac684f8b105684885955db7 (diff) |
loplugin:stringcopy: xmloff
Change-Id: Iec7feb114088357e8f87619ceb5dbfb228e8b5c7
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/meta/xmlversion.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/style/xmlnumfi.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/xmloff/source/meta/xmlversion.cxx b/xmloff/source/meta/xmlversion.cxx index 0f20f1722ebc..f71ee9c0ec87 100644 --- a/xmloff/source/meta/xmlversion.cxx +++ b/xmloff/source/meta/xmlversion.cxx @@ -78,13 +78,13 @@ sal_uInt32 XMLVersionListExport::exportDoc( enum ::xmloff::token::XMLTokenEnum ) const util::RevisionTag& rInfo = maVersions[n]; AddAttribute( XML_NAMESPACE_FRAMEWORK, xmloff::token::XML_TITLE, - OUString( rInfo.Identifier ) ); + rInfo.Identifier ); AddAttribute( XML_NAMESPACE_FRAMEWORK, xmloff::token::XML_COMMENT, - OUString( rInfo.Comment ) ); + rInfo.Comment ); AddAttribute( XML_NAMESPACE_FRAMEWORK, xmloff::token::XML_CREATOR, - OUString( rInfo.Author ) ); + rInfo.Author ); OUString aDateStr = SvXMLMetaExport::GetISODateTimeString( rInfo.TimeStamp ); diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index d4805317fb89..f64525f48070 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -2199,7 +2199,7 @@ void SvXMLNumFormatContext::AddCondition( const sal_Int32 nIndex ) const SvNumberformat* pFormat = pFormatter->GetEntry(l_nKey); if ( pFormat ) - aConditions.append( OUString( pFormat->GetFormatstring() ) ); + aConditions.append( pFormat->GetFormatstring() ); aConditions.append( ';' ); } diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 903a35f517ce..16b9c4820853 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -1034,9 +1034,9 @@ void XMLTextParagraphExport::exportListChange( !rNextInfo.ListLabelString().isEmpty() ) { const OUString aTextNumberElem = - OUString( GetExport().GetNamespaceMap().GetQNameByKey( + GetExport().GetNamespaceMap().GetQNameByKey( XML_NAMESPACE_TEXT, - GetXMLToken(XML_NUMBER) ) ); + GetXMLToken(XML_NUMBER) ); GetExport().IgnorableWhitespace(); GetExport().StartElement( aTextNumberElem, false ); GetExport().Characters( rNextInfo.ListLabelString() ); @@ -1115,9 +1115,9 @@ void XMLTextParagraphExport::exportListChange( !rNextInfo.ListLabelString().isEmpty() ) { const OUString aTextNumberElem = - OUString( GetExport().GetNamespaceMap().GetQNameByKey( + GetExport().GetNamespaceMap().GetQNameByKey( XML_NAMESPACE_TEXT, - GetXMLToken(XML_NUMBER) ) ); + GetXMLToken(XML_NUMBER) ); GetExport().IgnorableWhitespace(); GetExport().StartElement( aTextNumberElem, false ); GetExport().Characters( rNextInfo.ListLabelString() ); |