summaryrefslogtreecommitdiff
path: root/lotuswordpro/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-09-25 09:13:23 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-10-21 12:33:48 +0200
commit70d3278ad49dd8c3a41f8dbfcc53357124b245f8 (patch)
tree320e9b69817613e6ba2f6ed31bd497117a504617 /lotuswordpro/source
parent729716c737f43cf93601aa028cd1967de31052c4 (diff)
cid#1608255 silence Overflowed constant
Change-Id: I3b518782a82bd1f066a36c87d1a52e5e44e4abda Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175259 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r--lotuswordpro/source/filter/explode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/explode.cxx b/lotuswordpro/source/filter/explode.cxx
index a001254d0be4..72d0a8925557 100644
--- a/lotuswordpro/source/filter/explode.cxx
+++ b/lotuswordpro/source/filter/explode.cxx
@@ -281,7 +281,7 @@ sal_Int32 Decompression::explode()
// if LENGTH == 2
// D1 = D1 << 2
// read 2 bits -> D2
- D1 = D1 << 2;
+ D1 = (D1 & 0x3fffffff) << 2;
if (0 != ReadBits(2, D2))
break;
}