diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-12-11 13:07:04 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-12-11 13:08:35 +0100 |
commit | a1b970a10e00b34ab6d8608cb02247b8f0195573 (patch) | |
tree | e60372c9220f7641fa7f329cb912d8d39695d008 /svtools | |
parent | Make internal pgsql build on mac and make it default for release (diff) | |
download | core-a1b970a10e00b34ab6d8608cb02247b8f0195573.tar.gz core-a1b970a10e00b34ab6d8608cb02247b8f0195573.zip |
Remove ByteString
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/svhtml/htmlout.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx index deb530ba0192..cf3f746fc89f 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; |