diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgstrms.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sot/source/sdstor/stgstrms.cxx b/sot/source/sdstor/stgstrms.cxx index 680daf26afbd..fcd196131761 100644 --- a/sot/source/sdstor/stgstrms.cxx +++ b/sot/source/sdstor/stgstrms.cxx @@ -1241,10 +1241,7 @@ void StgTmpStrm::SetSize(sal_uInt64 n) { if( n > nEndOfData ) { - sal_uInt64 nCur = Tell(); - Seek( nEndOfData - 1 ); - WriteUChar( (sal_uInt8) 0 ); - Seek( nCur ); + SvMemoryStream::SetSize(n); } else nEndOfData = n; |