summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-04-30 17:17:44 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-04-30 17:17:44 +0000
commitc57f906170d0c2d4500a5b1ffccf5e91db5ed86b (patch)
tree4439ac8ca842d0c3e727526615cf832a7335646b /package
parente243f497f883be00fd9745b9c4ca5324fea70458 (diff)
Fix raw copying of streams + clean up constructor
Diffstat (limited to 'package')
-rw-r--r--package/source/zipapi/EntryInputStream.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/source/zipapi/EntryInputStream.hxx b/package/source/zipapi/EntryInputStream.hxx
index 82463f4158f9..0db70089cb56 100644
--- a/package/source/zipapi/EntryInputStream.hxx
+++ b/package/source/zipapi/EntryInputStream.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: EntryInputStream.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: mtg $ $Date: 2001-04-27 14:56:06 $
+ * last change: $Author: mtg $ $Date: 2001-04-30 18:17:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -88,8 +88,8 @@ class EntryInputStream : public cppu::WeakImplHelper2< com::sun::star::io::XInpu
private:
com::sun::star::uno::Reference< com::sun::star::io::XInputStream > xStream;
com::sun::star::uno::Reference< com::sun::star::io::XSeekable > xSeek;
- sal_Int64 nEnd, nCurrent;
- sal_Bool bDeflated, bHaveInMemory, bEncrypted;
+ sal_Int64 nEnd, nCurrent, nUncompressedSize;
+ sal_Bool bRawStream, bHaveInMemory, bEncrypted;
com::sun::star::uno::Sequence < sal_Int8 > aSequence, aBuffer;
const vos::ORef < EncryptionData > xEncryptionData;
const com::sun::star::packages::ZipEntry & rEntry;
@@ -99,7 +99,7 @@ public:
EntryInputStream( com::sun::star::uno::Reference < com::sun::star::io::XInputStream > xInput,
const com::sun::star::packages::ZipEntry &rNewEntry,
const vos::ORef < EncryptionData > &xEncryptData,
- sal_Bool bIsDeflated );
+ sal_Bool bGetRawStream = sal_False);
virtual ~EntryInputStream();
// XInputStream