diff options
author | Martin Gallwey <mtg@openoffice.org> | 2001-10-02 20:59:46 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2001-10-02 20:59:46 +0000 |
commit | ef4c5d1b7144f855a4ebb37c36ceb2a7e0e9f06b (patch) | |
tree | f06f175d41d8317354c96c14e66394776fb7d685 /package/inc | |
parent | a9d1b292e6bfa71832ffc45dfb0af799c5b28943 (diff) |
#90699# remove unused methods and members and add a new member to track how much we've digested
Diffstat (limited to 'package/inc')
-rw-r--r-- | package/inc/ZipOutputStream.hxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/package/inc/ZipOutputStream.hxx b/package/inc/ZipOutputStream.hxx index 08ad2cb32516..1d63be3ef2a3 100644 --- a/package/inc/ZipOutputStream.hxx +++ b/package/inc/ZipOutputStream.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ZipOutputStream.hxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: mtg $ $Date: 2001-09-14 14:47:23 $ + * last change: $Author: mtg $ $Date: 2001-10-02 21:59:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -91,8 +91,7 @@ class ZipOutputStream protected: com::sun::star::uno::Reference < com::sun::star::io::XOutputStream > xStream; ::std::vector < ZipEntry *> aZipList; - com::sun::star::uno::Sequence < sal_Int8 > aBuffer; - com::sun::star::uno::Sequence < sal_Int8 > aEncryptionBuffer; + com::sun::star::uno::Sequence < sal_Int8 > aBuffer, aEncryptionBuffer; ::rtl::OUString sComment; Deflater aDeflater; rtlCipher aCipher; @@ -100,15 +99,13 @@ protected: CRC32 aCRC; ByteChucker aChucker; ZipEntry *pCurrentEntry; - sal_Int16 nMethod, nLevel; + sal_Int16 nMethod, nLevel, mnDigested; sal_Bool bFinished, bEncryptCurrentEntry, bSpanning; - sal_Int16 nCurrentDiskNumber; ::vos::ORef < EncryptionData > xCurrentEncryptData; public: ZipOutputStream( com::sun::star::uno::Reference < com::sun::star::io::XOutputStream > &xOStream, sal_Bool bNewSpanning ); ~ZipOutputStream(void); - void setDiskNumber ( sal_Int16 nNewDiskNumber ) { nCurrentDiskNumber = nNewDiskNumber; } // rawWrite to support a direct write to the output stream void SAL_CALL rawWrite( ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength ) |