summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-22 14:34:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-23 11:37:06 +0000
commitb1f74de0311af25596e861c24be8b829f4b27cb4 (patch)
treea5c17d136efca429a72d2d17f0640fa9e5b9e12f /basic
parentd3c0bf6c8087c4573b181fc5d01a70cffc17c78f (diff)
ByteString->rtl::OString
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/iosys.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx
index b29e20336338..64ab1d9d66e0 100644
--- a/basic/source/runtime/iosys.cxx
+++ b/basic/source/runtime/iosys.cxx
@@ -647,7 +647,9 @@ SbError SbiStream::Read( ByteString& rBuf, sal_uInt16 n, bool bForceReadingPerBy
nExpandOnWriteTo = 0;
if( !bForceReadingPerByte && IsText() )
{
- pStrm->ReadLine( rBuf );
+ rtl::OString aBuffer;
+ pStrm->ReadLine(aBuffer);
+ rBuf = aBuffer;
nLine++;
}
else