diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-12-11 14:48:16 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-12-11 14:48:16 +0100 |
commit | eba2e6a9c32d5c5a7bdb4c8ccc515903b247c12d (patch) | |
tree | 8f9c6aa186c7782b53f413d25a22fb7046afcde7 /sc | |
parent | 4046a1dfc2ba5b52cab7083f4817351c647a59c3 (diff) |
Remove ByteString
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 3ad8b8bab4f3..1757c6b81b3b 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -1650,8 +1650,8 @@ void ScXMLExport::CopySourceStream( sal_Int32 nStartOffset, sal_Int32 nEndOffset if ( getExportFlags() & EXPORT_PRETTY ) { - ByteString aOutStr("\n "); - uno::Sequence<sal_Int8> aOutSeq( (sal_Int8*)aOutStr.GetBuffer(), aOutStr.Len() ); + const rtl::OString aOutStr("\n "); + uno::Sequence<sal_Int8> aOutSeq( (sal_Int8*)aOutStr.getStr(), aOutStr.getLength() ); xDestStream->writeBytes( aOutSeq ); } |