diff options
Diffstat (limited to 'tools/source/stream')
-rw-r--r-- | tools/source/stream/stream.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index 479657ab1d57..b0976ddf89c0 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -1818,7 +1818,7 @@ sal_Size SvMemoryStream::PutData( const void* pData, sal_Size nCount ) else { // lacking memory is larger than nResize, - // resize by (nCoount-nMaxCount) + resize offset + // resize by (nCount-nMaxCount) + resize offset if( !ReAllocateMemory( nCount-nMaxCount+nNewResize ) ) { nCount = 0; |