diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-21 10:30:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-21 10:30:10 +0000 |
commit | 6708977331c933b3483b9fe5f66d981b51fd8d49 (patch) | |
tree | 150a2ad7ed1b49df70ee7c814edf60d5147c043d /basic | |
parent | fffae28952f20fed693df4de8b8645cf0aedabfa (diff) |
needs more work first
This reverts commit 92f396733ebc518bcb7a9eae2dd3169d333b82b9.
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/iosys.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index 1a63f943d5a7..a2fe3bd9a096 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -656,7 +656,7 @@ SbError SbiStream::Read( ByteString& rBuf, sal_uInt16 n, bool bForceReadingPerBy n = nLen; if( !n ) return nError = SbERR_BAD_RECORD_LENGTH; - rtl::OStringBuffer aBuffer(read_uInt8s_ToOString(*pStrm, n)); + rtl::OStringBuffer aBuffer(read_uInt8s_AsOString(*pStrm, n)); //Pad it out with ' ' to the requested length on short read sal_Int32 nRequested = sal::static_int_cast<sal_Int32>(n); comphelper::string::padToLength(aBuffer, nRequested, ' '); |