summaryrefslogtreecommitdiff
path: root/package/source/zipapi/ByteGrabber.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-14 16:31:47 +0200
committerNoel Grandin <noel@peralex.com>2016-01-15 09:36:41 +0200
commit802765dbe5f79748453c985da08824fb9ddefe11 (patch)
treebc2b86b325f419baa41a08020cf746523661447c /package/source/zipapi/ByteGrabber.cxx
parent52e69bfbba7220fe4181098102876f0e83ffbee1 (diff)
loplugin:unusedmethods unused return value in oox,package
Change-Id: I63862c3ce32a1106b7de037f422e7e5480e8bfd6
Diffstat (limited to 'package/source/zipapi/ByteGrabber.cxx')
-rw-r--r--package/source/zipapi/ByteGrabber.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/source/zipapi/ByteGrabber.cxx b/package/source/zipapi/ByteGrabber.cxx
index 4fb1f029e1b4..a6f23645cc60 100644
--- a/package/source/zipapi/ByteGrabber.cxx
+++ b/package/source/zipapi/ByteGrabber.cxx
@@ -62,7 +62,7 @@ sal_Int32 SAL_CALL ByteGrabber::readBytes( uno::Sequence< sal_Int8 >& aData,
}
// XSeekable chained...
-sal_Int64 SAL_CALL ByteGrabber::seek( sal_Int64 location )
+void SAL_CALL ByteGrabber::seek( sal_Int64 location )
throw(lang::IllegalArgumentException, io::IOException, uno::RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -74,7 +74,6 @@ sal_Int64 SAL_CALL ByteGrabber::seek( sal_Int64 location )
if (location > nLen )
location = nLen;
xSeek->seek( location );
- return location;
}
else
throw io::IOException(THROW_WHERE );