diff options
author | Kurt Zenker <kz@openoffice.org> | 2010-08-11 13:05:19 +0200 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2010-08-11 13:05:19 +0200 |
commit | ad50c65d6433ed7918c9326383708e44925a4e9e (patch) | |
tree | c6ad811ca282e00e19ff5cf36cba54c8c36503a2 | |
parent | 92cc5ae9dcff421538ea7beb46e18136e9bab834 (diff) | |
parent | c1b8585f130b1f159fa10a85b3846f3e8524b127 (diff) |
CWS-TOOLING: integrate CWS writerfilter08ooo330ooo/OOO330_m4
-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 f9b7816cb..ce4378609 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(); } + |