diff options
Diffstat (limited to 'sfx2/source/bastyp/frmhtmlw.cxx')
-rw-r--r-- | sfx2/source/bastyp/frmhtmlw.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sfx2/source/bastyp/frmhtmlw.cxx b/sfx2/source/bastyp/frmhtmlw.cxx index b36539f3a8c3..09dcd0cfe85c 100644 --- a/sfx2/source/bastyp/frmhtmlw.cxx +++ b/sfx2/source/bastyp/frmhtmlw.cxx @@ -120,10 +120,9 @@ void SfxFrameHTMLWriter::Out_DocInfo( SvStream& rStrm, const OUString& rBaseURL, if( pIndent ) rStrm.WriteCharPtr( pIndent ); - OStringBuffer sOut; - sOut.append('<').append(OOO_STRING_SVTOOLS_HTML_base).append(' ') - .append(OOO_STRING_SVTOOLS_HTML_O_target).append("=\""); - rStrm.WriteOString( sOut.makeStringAndClear() ); + OString sOut = "<" OOO_STRING_SVTOOLS_HTML_base " " + OOO_STRING_SVTOOLS_HTML_O_target "=\""; + rStrm.WriteOString( sOut ); HTMLOutFuncs::Out_String( rStrm, rTarget, eDestEnc, pNonConvertableChars ) .WriteCharPtr( "\">" ); } |