summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-11-15 18:57:26 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-11-15 18:57:26 +0000
commit1c318efd3d6eb1cb05d0546c1cc9bbf2e9ef3859 (patch)
tree02f2a6a784d34ff41d3fb85aaf37c872936f8942 /package
parent62da75a1a27ffa4e2892a20f66a3d3204d58465e (diff)
#94679# remove unncessary headers
Diffstat (limited to 'package')
-rw-r--r--package/inc/ZipOutputStream.hxx23
1 files changed, 11 insertions, 12 deletions
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 <CRC32.hxx>
#endif
-#ifndef __SGI_STL_VECTOR
-#include <vector>
-#endif
#ifndef _RTL_CIPHER_H_
#include <rtl/cipher.h>
#endif
-#ifndef _VOS_REF_H_
-#include <vos/ref.hxx>
-#endif
#ifndef RTL_DIGEST_H_
#include <rtl/digest.h>
#endif
+#include <vector>
+
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 )