summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/source/zipapi/MemoryByteGrabber.hxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/package/source/zipapi/MemoryByteGrabber.hxx b/package/source/zipapi/MemoryByteGrabber.hxx
index ce8e0e22622e..ff173e3a17af 100644
--- a/package/source/zipapi/MemoryByteGrabber.hxx
+++ b/package/source/zipapi/MemoryByteGrabber.hxx
@@ -43,21 +43,6 @@ public:
const sal_Int8 * getCurrentPos () { return mpBuffer + mnCurrent; }
// XInputStream chained
- sal_Int32 SAL_CALL readBytes( com::sun::star::uno::Sequence< sal_Int8 >& aData,
- sal_Int32 nBytesToRead )
- throw(com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException, com::sun::star::uno::RuntimeException)
- {
- if ( nBytesToRead < 0)
- throw com::sun::star::io::BufferSizeExceededException();
-
- if (nBytesToRead + mnCurrent > mnEnd)
- nBytesToRead = mnEnd - mnCurrent;
-
- aData.realloc ( nBytesToRead );
- memcpy( aData.getArray(), mpBuffer + mnCurrent, nBytesToRead );
- mnCurrent += nBytesToRead;
- return nBytesToRead;
- }
void SAL_CALL skipBytes( sal_Int32 nBytesToSkip )
throw(com::sun::star::io::NotConnectedException, com::sun::star::io::BufferSizeExceededException, com::sun::star::io::IOException, com::sun::star::uno::RuntimeException)