Remove ByteString

This commit is contained in:
Julien Nabet
2011-12-11 13:07:04 +01:00
parent bee80a2a57
commit a1b970a10e

View File

@@ -885,9 +885,8 @@ SvStream& HTMLOutFuncs::OutScript( SvStream& rStrm,
{
// Wir schreiben das Modul mm ANSI-Zeichensatz, aber mit
// System-Zeilenumbruechen raus.
ByteString sSource(rtl::OUStringToOString(rSource, eDestEnc));
sSource.ConvertLineEnd( GetSystemLineEnd() );
rStrm << sSource.GetBuffer();
rtl::OString sSource(rtl::OUStringToOString(rSource, eDestEnc));
rStrm << sSource.getStr() << sNewLine;
}
rStrm << sNewLine;