From 6708977331c933b3483b9fe5f66d981b51fd8d49 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 21 Dec 2011 10:30:10 +0000 Subject: needs more work first This reverts commit 92f396733ebc518bcb7a9eae2dd3169d333b82b9. --- sot/source/sdstor/ucbstorage.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sot') diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index f1cf5c0c3127..b6fb581057fc 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -3303,7 +3303,8 @@ String UCBStorage::GetLinkedFile( SvStream &rStream ) rStream >> nBytes; if( nBytes == 0x04034b50 ) { - ByteString aTmp = read_lenPrefixed_uInt8s_ToOString(rStream); + ByteString aTmp; + rStream.ReadByteString( aTmp ); if ( aTmp.CompareTo( "ContentURL=", 11 ) == COMPARE_EQUAL ) { aTmp.Erase( 0, 11 ); -- cgit