summaryrefslogtreecommitdiff
path: root/package/source/zipapi
diff options
context:
space:
mode:
authorHenning Brinkmann <hbrinkm@openoffice.org>2010-07-28 14:17:26 +0200
committerHenning Brinkmann <hbrinkm@openoffice.org>2010-07-28 14:17:26 +0200
commit2cc43864289c5f0d5e37425dd227c068a7a3d36b (patch)
tree4ab38c4112738d88a85ff62fa5039c621371e851 /package/source/zipapi
parenta34dc4114a103abe5de68ac573f4a830cbc35b77 (diff)
writerfilter08ooo330: applied patch for writerfilter08
Diffstat (limited to 'package/source/zipapi')
-rw-r--r--package/source/zipapi/ZipFile.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx
index 2238cf870d02..f01b7ce06f4b 100644
--- a/package/source/zipapi/ZipFile.cxx
+++ b/package/source/zipapi/ZipFile.cxx
@@ -1051,11 +1051,7 @@ void ZipFile::getSizeAndCRC( sal_Int32 nOffset, sal_Int32 nCompressedSize, sal_I
nRealSize += nInBlock;
}
- if( aInflaterLocal.finished() )
- {
- *nSize = nRealSize;
- *nCRC = aCRC.getValue();
- }
- else
- *nSize = *nCRC = 0;
+ *nSize = nRealSize;
+ *nCRC = aCRC.getValue();
}
+