diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-22 14:34:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-23 11:37:06 +0000 |
commit | b1f74de0311af25596e861c24be8b829f4b27cb4 (patch) | |
tree | a5c17d136efca429a72d2d17f0640fa9e5b9e12f /basic | |
parent | drop tools/string.hxx include (diff) | |
download | core-b1f74de0311af25596e861c24be8b829f4b27cb4.tar.gz core-b1f74de0311af25596e861c24be8b829f4b27cb4.zip |
ByteString->rtl::OString
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/iosys.cxx | 4 |
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 |