[Libreoffice-commits] core.git: sc/source
Kohei Yoshida
kohei.yoshida at gmail.com
Sun Jul 14 08:50:30 PDT 2013
sc/source/core/data/dpgroup.cxx | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
New commits:
commit 7ee62f1d499c02c329f228a1d94eb6d64b80589b
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Sun Jul 14 11:50:45 2013 -0400
fdo#63998: Oops I introduced a new bug. Let's not.
Change-Id: I3ad3a5e30d9562d5565025e5251bf8fb0d28677f
diff --git a/sc/source/core/data/dpgroup.cxx b/sc/source/core/data/dpgroup.cxx
index 81920d8..1e8059a 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;
More information about the Libreoffice-commits
mailing list