diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-14 11:50:45 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-14 11:52:55 -0400 |
commit | 7ee62f1d499c02c329f228a1d94eb6d64b80589b (patch) | |
tree | 6358e36c9a35d8d8602e4742fdbc042b481dd391 /sc | |
parent | f460556bfa6bd55df3cd4b2288524d63db284d7e (diff) |
fdo#63998: Oops I introduced a new bug. Let's not.
Change-Id: I3ad3a5e30d9562d5565025e5251bf8fb0d28677f
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; |