diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/dpgroup.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/source/core/data/dpgroup.cxx b/sc/source/core/data/dpgroup.cxx index 81920d840efa..1e8059a64934 100644 --- a/sc/source/core/data/dpgroup.cxx +++ b/sc/source/core/data/dpgroup.cxx @@ -80,11 +80,15 @@ bool ScDPGroupNumFilter::match(const ScDPItemData& rCellData) const if (rtl::math::isSignBitSet(fVal)) { // Less than the min value. - return rCellData.GetValue() < maNumInfo.mfStart; + if (rCellData.GetValue() < maNumInfo.mfStart) + return true; } // Greater than the max value. - return maNumInfo.mfEnd < rCellData.GetValue(); + if (maNumInfo.mfEnd < rCellData.GetValue()) + return true; + + continue; } double low = fVal; |