summaryrefslogtreecommitdiff
path: root/package/inc/CRC32.hxx
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-04-27 13:56:07 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-04-27 13:56:07 +0000
commitfa2de5099c00fabb952c039269f23f7f3689c586 (patch)
tree0476064e5fcd36451648736e4dcb6fccafd1f062 /package/inc/CRC32.hxx
parent7ddd39239c37d8a9b58f4c8fc17ff2b47fe0a20b (diff)
#86409# Support encryption in package files + a couple of optimisations
Diffstat (limited to 'package/inc/CRC32.hxx')
-rw-r--r--package/inc/CRC32.hxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/package/inc/CRC32.hxx b/package/inc/CRC32.hxx
index 8ca85ffe6189..f92a16a3cc45 100644
--- a/package/inc/CRC32.hxx
+++ b/package/inc/CRC32.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: CRC32.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: mtg $ $Date: 2001-04-19 14:11:06 $
+ * last change: $Author: mtg $ $Date: 2001-04-27 14:56:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,29 +61,29 @@
#ifndef _CRC32_HXX
#define _CRC32_HXX
-#ifndef _CPPUHELPER_IMPLBASE1_HXX_
-#include <cppuhelper/implbase1.hxx>
+#ifndef _COM_SUN_STAR_UNO_SEQUENCE_H_
+#include <com/sun/star/uno/Sequence.h>
#endif
-#ifndef _COM_SUN_STAR_PACKAGE_XCHECKSUM_HPP_
-#include <com/sun/star/packages/XChecksum.hpp>
+#ifndef _COM_SUN_STAR_UNO_RUNTIMEEXCEPTION_HDL_
+#include <com/sun/star/uno/RuntimeException.hdl>
#endif
-class CRC32 : public cppu::WeakImplHelper1<com::sun::star::packages::XChecksum>
+class CRC32
{
private:
sal_uInt32 nCRC;
public:
CRC32();
- virtual ~CRC32();
- virtual void SAL_CALL updateByte (sal_Int8 nByte)
+ ~CRC32();
+ void SAL_CALL updateByte (sal_Int8 nByte)
throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL updateSegment(const ::com::sun::star::uno::Sequence< sal_Int8 > &b, sal_Int32 off, sal_Int32 len)
+ void SAL_CALL updateSegment(const ::com::sun::star::uno::Sequence< sal_Int8 > &b, sal_Int32 off, sal_Int32 len)
throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL update(const ::com::sun::star::uno::Sequence< sal_Int8 > &b)
+ void SAL_CALL update(const ::com::sun::star::uno::Sequence< sal_Int8 > &b)
throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getValue()
+ sal_Int32 SAL_CALL getValue()
throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL reset()
+ void SAL_CALL reset()
throw(::com::sun::star::uno::RuntimeException);
};