diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-20 21:05:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-22 08:43:48 +0100 |
commit | 54505496c24e6babe54570d42223e8da24f4ff3f (patch) | |
tree | 1bc79e9ccdfcfe77d7c3950beeab1a342eda1792 /lotuswordpro | |
parent | d2ce9699781f0722eea6817a31192380b617c207 (diff) |
coverity#1202751 max huffman code word len is 31
Change-Id: I7ef74df22a65c1de396fc9211ac1adefc48fe849
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/explode.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/explode.cxx b/lotuswordpro/source/filter/explode.cxx index cc8f34cc3d7f..1ae4248d4495 100644 --- a/lotuswordpro/source/filter/explode.cxx +++ b/lotuswordpro/source/filter/explode.cxx @@ -167,7 +167,7 @@ Decompression::Decompression(SvStream * pInStream, SvStream * pOutStream) */ sal_uInt32 Decompression::ReadBits(sal_uInt16 iCount, sal_uInt32 & nBits) { - if ( (iCount == 0) || (iCount > 32 ) ) + if ( (iCount == 0) || (iCount > 31 ) ) { return 1; } |