From ef4c5d1b7144f855a4ebb37c36ceb2a7e0e9f06b Mon Sep 17 00:00:00 2001 From: Martin Gallwey Date: Tue, 2 Oct 2001 20:59:46 +0000 Subject: #90699# remove unused methods and members and add a new member to track how much we've digested --- package/inc/ZipOutputStream.hxx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'package/inc/ZipOutputStream.hxx') 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 ) -- cgit