summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-03-08 11:22:40 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-03-08 11:22:40 +0000
commit39a5287615bc61dc2d5bcb7fb714227474d6c71d (patch)
treea66aeed2c10dc2a5f022dff5eeb6936d0c259245 /package
parent6e0caeee8a36498080f0edf1b53a28945f8a2d75 (diff)
removed support for embedded zip files, possibly forever
Diffstat (limited to 'package')
-rw-r--r--package/source/zippackage/ZipPackage.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx
index 53dea0964c4a..739574c2dc6c 100644
--- a/package/source/zippackage/ZipPackage.cxx
+++ b/package/source/zippackage/ZipPackage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ZipPackage.cxx,v $
*
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
- * last change: $Author: mtg $ $Date: 2001-03-07 16:06:55 $
+ * last change: $Author: mtg $ $Date: 2001-03-08 12:22:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -238,6 +238,11 @@ void ZipPackage::getZipFileContents()
nOldIndex = nIndex+1;
}
OUString sStreamName = rName.copy( nOldIndex, rName.getLength() - nOldIndex);
+ /*
+ * disabled this funky but useless functionality on 8/03/2001 due to problems
+ * with copying streams - mtg
+ *
+ * It may be of some use to future generations :)
if (isZipFile(aEntry))
{
Reference < XInputStream > xContentStream = pZipFile->getInputStream(aEntry);
@@ -256,6 +261,7 @@ void ZipPackage::getZipFileContents()
}
}
else
+ */
{
pPkgStream = new ZipPackageStream( pZipFile );
pPkgStream->bPackageMember = sal_True;