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 | a7aba8a191e1c73f0da129c98d6942e766b70c1f (patch) | |
tree | 753f313985cf06c9addaa5c693f6eac6f91bb6ee | |
parent | 15d4d3e0ff29a64c5cd899353b5be5b0df66b6c2 (diff) | |
parent | aebefeed9e73b1aa0e5f4fc8ec35c92f9abc8c54 (diff) |
CWS-TOOLING: integrate CWS writerfilter08ooo330
Notes
split repo tag: components_ooo/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 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(); } + |