summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2010-04-15 19:46:12 +0200
committerDaniel Rentz <dr@openoffice.org>2010-04-15 19:46:12 +0200
commitdc295f1cf1c99b2dbe0760c7542a92febb33a27d (patch)
tree4526ac001f9fb773bd27c259328363477c4ca2f7 /oox
parent0f0f6396110e83a99f979a37f0cfe3e11ec6faa6 (diff)
npower13_objectmodules: would be a good idea to really seek the wrapped stream...
Diffstat (limited to 'oox')
-rw-r--r--oox/source/helper/binaryinputstream.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/oox/source/helper/binaryinputstream.cxx b/oox/source/helper/binaryinputstream.cxx
index 9ca6938f2ff1..a5a3cf9a2c30 100644
--- a/oox/source/helper/binaryinputstream.cxx
+++ b/oox/source/helper/binaryinputstream.cxx
@@ -321,6 +321,7 @@ void RelativeInputStream::skip( sal_Int32 nBytes )
if( !mbEof )
{
sal_Int32 nSkipBytes = getLimitedValue< sal_Int32, sal_Int64 >( nBytes, 0, mnLength - mnRelPos );
+ mrInStrm.skip( nSkipBytes );
mnRelPos += nSkipBytes;
mbEof = nSkipBytes < nBytes;
}