diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index 8448f5144af9..a7021d2b22aa 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -1442,7 +1442,6 @@ sal_uInt64 SvStream::remainingSize() sal_uInt64 const nCurr = Tell(); sal_uInt64 const nEnd = TellEnd(); sal_uInt64 nMaxAvailable = nEnd > nCurr ? (nEnd-nCurr) : 0; - Seek(nCurr); return nMaxAvailable; }