[Libreoffice-commits] .: svtools/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sun Dec 11 04:15:21 PST 2011
svtools/source/svhtml/htmlout.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit a1b970a10e00b34ab6d8608cb02247b8f0195573
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Dec 11 13:07:04 2011 +0100
Remove ByteString
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx
index deb530b..cf3f746 100644
--- a/svtools/source/svhtml/htmlout.cxx
+++ b/svtools/source/svhtml/htmlout.cxx
@@ -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;
More information about the Libreoffice-commits
mailing list