summaryrefslogtreecommitdiffstats
path: root/package/source/zipapi/ByteGrabber.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/zipapi/ByteGrabber.cxx')
-rw-r--r--package/source/zipapi/ByteGrabber.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/source/zipapi/ByteGrabber.cxx b/package/source/zipapi/ByteGrabber.cxx
index 3c9e17dba00e..29195f849eb5 100644
--- a/package/source/zipapi/ByteGrabber.cxx
+++ b/package/source/zipapi/ByteGrabber.cxx
@@ -71,8 +71,6 @@ void ByteGrabber::seek( sal_Int64 location )
sal_Int64 nLen = xSeek->getLength();
if ( location < 0 || location > nLen )
throw lang::IllegalArgumentException(THROW_WHERE, uno::Reference< uno::XInterface >(), 1 );
- if (location > nLen )
- location = nLen;
xSeek->seek( location );
}