diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-09-11 09:48:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-09-15 10:22:27 +0200 |
commit | 7d30c7b93848f46f6ba3bfee7e93b12ac75af6a6 (patch) | |
tree | 969cf0efd8ce44140ab991ef5c654eaca4117311 /sc | |
parent | 71ab742c8e36dc10b2dbccfb3bacbffbfaed1178 (diff) |
cid#1607343 silence Overflowed constant
and
cid#1607447 Overflowed constant
Change-Id: If9be20f1e6a42343844c887c1e16d4c066ff3949
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173365
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr2.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index 2d87abed4789..f1443b9c5109 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -3602,8 +3602,9 @@ void ScInterpreter::ScGetPivotData() aFilters.resize(nFilterCount); sal_uInt16 i = nFilterCount; - while (i-- > 0) + while (i > 0) { + --i; /* TODO: also, in case of numeric the entire filter match should * not be on a (even if locale independent) formatted string down * below in pDPObj->GetPivotData(). */ |