summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2010-09-27 17:00:09 +0200
committerMikhail Voytenko <mav@openoffice.org>2010-09-27 17:00:09 +0200
commit5762777d4910b51df2f76f6e442564170c83cad9 (patch)
tree742137aa1ee1a1999b668e62ef3ed320e195f5f0 /package
parent273fa6a6aa0d56660807ab29892f0618cfbb2e63 (diff)
parent05e178629a416b8c087099c2840ae7c2bffa2733 (diff)
fwk149: rebase to DEV300_m88
Diffstat (limited to 'package')
-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();
}
+