summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlfld.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmlfld.cxx')
-rw-r--r--sw/source/filter/html/htmlfld.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlfld.cxx b/sw/source/filter/html/htmlfld.cxx
index db7edb38a868..54bd87050034 100644
--- a/sw/source/filter/html/htmlfld.cxx
+++ b/sw/source/filter/html/htmlfld.cxx
@@ -588,8 +588,7 @@ void SwHTMLParser::InsertCommentText( const sal_Char *pTag )
m_aContents += aToken;
if( bEmpty && pTag )
{
- OUString aTmp( m_aContents );
- m_aContents = "HTML: <" + OUString( *pTag ) + ">" + aTmp;
+ m_aContents = OUStringLiteral("HTML: <") + OUStringLiteral1(*pTag) + ">" + m_aContents;
}
}