Kaydet (Commit) 1fa173d0 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS fwk88 (1.13.8); FILE MERGED

2008/05/27 15:57:23 mav 1.13.8.1: #i86348# integrate the patch
üst b2b68561
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite * OpenOffice.org - a multi-platform office productivity suite
* *
* $RCSfile: ByteChucker.hxx,v $ * $RCSfile: ByteChucker.hxx,v $
* $Revision: 1.13 $ * $Revision: 1.14 $
* *
* This file is part of OpenOffice.org. * This file is part of OpenOffice.org.
* *
...@@ -56,17 +56,9 @@ public: ...@@ -56,17 +56,9 @@ public:
// XOutputStream // XOutputStream
void SAL_CALL writeBytes( const ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nLength = -1, const sal_Int8 * const pData = NULL) void SAL_CALL writeBytes( const ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nLength = -1, const sal_Int8 * const pData = NULL)
throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
void SAL_CALL flush( )
throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
void SAL_CALL closeOutput( )
throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
// XSeekable // XSeekable
sal_Int64 SAL_CALL seek( sal_Int64 location )
throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
sal_Int64 SAL_CALL getPosition( ) sal_Int64 SAL_CALL getPosition( )
throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
sal_Int64 SAL_CALL getLength( )
throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
ByteChucker& operator << (sal_Int8 nInt8); ByteChucker& operator << (sal_Int8 nInt8);
ByteChucker& operator << (sal_Int16 nInt16); ByteChucker& operator << (sal_Int16 nInt16);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite * OpenOffice.org - a multi-platform office productivity suite
* *
* $RCSfile: CRC32.cxx,v $ * $RCSfile: CRC32.cxx,v $
* $Revision: 1.13 $ * $Revision: 1.14 $
* *
* This file is part of OpenOffice.org. * This file is part of OpenOffice.org.
* *
...@@ -65,15 +65,6 @@ sal_Int32 SAL_CALL CRC32::getValue() ...@@ -65,15 +65,6 @@ sal_Int32 SAL_CALL CRC32::getValue()
{ {
return nCRC & 0xFFFFFFFFL; return nCRC & 0xFFFFFFFFL;
} }
/** Update CRC32 with specified byte
*/
void SAL_CALL CRC32::updateByte (sal_Int8 nByte)
throw(RuntimeException)
{
sal_uInt8 pBuf[1];
pBuf[0] = (sal_uInt8)nByte;
nCRC = crc32(nCRC, pBuf, 1);
}
/** Update CRC32 with specified sequence of bytes /** Update CRC32 with specified sequence of bytes
*/ */
void SAL_CALL CRC32::updateSegment(const Sequence< sal_Int8 > &b, void SAL_CALL CRC32::updateSegment(const Sequence< sal_Int8 > &b,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment