diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2010-09-27 17:00:09 +0200 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2010-09-27 17:00:09 +0200 |
commit | 5762777d4910b51df2f76f6e442564170c83cad9 (patch) | |
tree | 742137aa1ee1a1999b668e62ef3ed320e195f5f0 /package | |
parent | 273fa6a6aa0d56660807ab29892f0618cfbb2e63 (diff) | |
parent | 05e178629a416b8c087099c2840ae7c2bffa2733 (diff) |
fwk149: rebase to DEV300_m88
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zipapi/ZipFile.cxx | 10 |
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(); } + |