summaryrefslogtreecommitdiff
path: root/package/source/zipapi
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-20 06:19:22 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-20 06:19:22 +0000
commitb2b68561d1f94a9d4980e36eee02f9945649b7fc (patch)
tree6a9f1e91c7187139d4ce81da602f44bdc3946758 /package/source/zipapi
parentaec2e64adf3132d9748caff16b695b5005a5bd89 (diff)
INTEGRATION: CWS fwk88 (1.21.8); FILE MERGED
2008/05/27 15:57:23 mav 1.21.8.1: #i86348# integrate the patch
Diffstat (limited to 'package/source/zipapi')
-rw-r--r--package/source/zipapi/ByteChucker.cxx28
1 files changed, 1 insertions, 27 deletions
diff --git a/package/source/zipapi/ByteChucker.cxx b/package/source/zipapi/ByteChucker.cxx
index bd473ca9fe54..71a1767cfba0 100644
--- a/package/source/zipapi/ByteChucker.cxx
+++ b/package/source/zipapi/ByteChucker.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ByteChucker.cxx,v $
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
* This file is part of OpenOffice.org.
*
@@ -61,39 +61,13 @@ void SAL_CALL ByteChucker::writeBytes( const Sequence< sal_Int8 >& aData, sal_In
{
xStream->writeBytes(aData);
}
-void SAL_CALL ByteChucker::flush( )
- throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException)
-{
- xStream->flush();
-}
-void SAL_CALL ByteChucker::closeOutput( )
- throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException)
-{
- xStream->closeOutput();
-}
// XSeekable chained...
-sal_Int64 SAL_CALL ByteChucker::seek( sal_Int64 location )
- throw(IllegalArgumentException, IOException, RuntimeException)
-{
- sal_Int64 nLen = xSeek->getLength();
- if ( location < 0 || location > nLen )
- throw IllegalArgumentException();
- if (location > nLen )
- location = nLen;
- xSeek->seek( location );
- return location;
-}
sal_Int64 SAL_CALL ByteChucker::getPosition( )
throw(IOException, RuntimeException)
{
return xSeek->getPosition();
}
-sal_Int64 SAL_CALL ByteChucker::getLength( )
- throw(IOException, RuntimeException)
-{
- return xSeek->getLength();
-}
ByteChucker& ByteChucker::operator << (sal_Int8 nInt8)
{