From 1c318efd3d6eb1cb05d0546c1cc9bbf2e9ef3859 Mon Sep 17 00:00:00 2001 From: Martin Gallwey Date: Thu, 15 Nov 2001 18:57:26 +0000 Subject: #94679# remove unncessary headers --- package/inc/ZipOutputStream.hxx | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'package/inc/ZipOutputStream.hxx') diff --git a/package/inc/ZipOutputStream.hxx b/package/inc/ZipOutputStream.hxx index 1d63be3ef2a3..1fc34215f47f 100644 --- a/package/inc/ZipOutputStream.hxx +++ b/package/inc/ZipOutputStream.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ZipOutputStream.hxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: mtg $ $Date: 2001-10-02 21:59:46 $ + * last change: $Author: mtg $ $Date: 2001-11-15 19:57:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,27 +70,26 @@ #ifndef _CRC32_HXX #include #endif -#ifndef __SGI_STL_VECTOR -#include -#endif #ifndef _RTL_CIPHER_H_ #include #endif -#ifndef _VOS_REF_H_ -#include -#endif #ifndef RTL_DIGEST_H_ #include #endif +#include + struct ZipEntry; class EncryptionData; - +namespace vos +{ + template < class T > class ORef; +} class ZipOutputStream { protected: com::sun::star::uno::Reference < com::sun::star::io::XOutputStream > xStream; - ::std::vector < ZipEntry *> aZipList; + ::std::vector < ZipEntry * > aZipList; com::sun::star::uno::Sequence < sal_Int8 > aBuffer, aEncryptionBuffer; ::rtl::OUString sComment; Deflater aDeflater; @@ -101,11 +100,11 @@ protected: ZipEntry *pCurrentEntry; sal_Int16 nMethod, nLevel, mnDigested; sal_Bool bFinished, bEncryptCurrentEntry, bSpanning; - ::vos::ORef < EncryptionData > xCurrentEncryptData; + EncryptionData *pCurrentEncryptData; public: ZipOutputStream( com::sun::star::uno::Reference < com::sun::star::io::XOutputStream > &xOStream, sal_Bool bNewSpanning ); - ~ZipOutputStream(void); + ~ZipOutputStream(); // 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