summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/excel/xestring.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-12 10:17:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-12 11:51:11 +0100
commit58ee09b87b11a6a6b56a06f772214e8835810bd3 (patch)
tree3dba493131b4b9fd670057b8df826bfbbb41fe23 /sc/source/filter/excel/xestring.cxx
parentRelated: rhbz#730225 avoid segv in ld, this was set to -O0 around 2000 (diff)
downloadcore-58ee09b87b11a6a6b56a06f772214e8835810bd3.tar.gz
core-58ee09b87b11a6a6b56a06f772214e8835810bd3.zip
ByteString, shrink api
Diffstat (limited to 'sc/source/filter/excel/xestring.cxx')
-rw-r--r--sc/source/filter/excel/xestring.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xestring.cxx b/sc/source/filter/excel/xestring.cxx
index 74117e60ea2e..8647c21e1b31 100644
--- a/sc/source/filter/excel/xestring.cxx
+++ b/sc/source/filter/excel/xestring.cxx
@@ -177,8 +177,8 @@ void XclExpString::AppendByte( sal_Unicode cChar, rtl_TextEncoding eTextEnc )
}
else
{
- ByteString aByteStr( &cChar, 1, eTextEnc ); // length may be >1
- BuildAppend( aByteStr.GetBuffer(), aByteStr.Len() );
+ rtl::OString aByteStr( &cChar, 1, eTextEnc ); // length may be >1
+ BuildAppend( aByteStr.getStr(), aByteStr.getLength() );
}
}