summaryrefslogtreecommitdiff
path: root/package/source/zippackage
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-12-04 16:52:40 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-12-04 16:52:40 +0000
commitecd83d3387e72bb6c5203670bb0171e4635c6a6b (patch)
treefd10301fe47b56eb00b1a49d1401f3d4c8e6cf9f /package/source/zippackage
parentb8954b7df90c9904d7cf2c1e859ce95d9fc754e8 (diff)
#95155# assert if we couldn't get a reader or writer
Diffstat (limited to 'package/source/zippackage')
-rw-r--r--package/source/zippackage/ZipPackage.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx
index 70e90f1b5409..5b8cd3f0f108 100644
--- a/package/source/zippackage/ZipPackage.cxx
+++ b/package/source/zippackage/ZipPackage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ZipPackage.cxx,v $
*
- * $Revision: 1.72 $
+ * $Revision: 1.73 $
*
- * last change: $Author: mtg $ $Date: 2001-11-29 13:46:23 $
+ * last change: $Author: mtg $ $Date: 2001-12-04 17:52:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -353,6 +353,8 @@ void ZipPackage::getZipFileContents()
}
}
}
+ else
+ VOS_ENSURE ( 0, "Couldn't get a ManifestReader!" );
}
}
const OUString sMeta ( RTL_CONSTASCII_USTRINGPARAM ( "META-INF" ) );
@@ -715,6 +717,8 @@ void ZipPackage::writeTempFile()
VOS_ENSURE( 0, "Error adding META-INF/manifest.xml to the ZipOutputStream" );
}
}
+ else
+ VOS_ENSURE ( 0, "Couldn't get a ManifestWriter!" );
try
{
aZipOut.finish();