sc/source/core/data/colorscale.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 4dc71bcf6e6a757a8369c46db1c24e98679d1506 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Thu Feb 14 15:26:27 2013 +0100 use >= as mentioned in the UI, fdo#60798 Change-Id: Iac6737e98eb0961de22036f42634ebad7d42dfcc diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx index bef5aca..0d17fa6 100644 --- a/sc/source/core/data/colorscale.cxx +++ b/sc/source/core/data/colorscale.cxx @@ -910,13 +910,13 @@ ScIconSetInfo* ScIconSetFormat::GetIconSetInfo(const ScAddress& rAddr) const double nValMax = CalcValue(nMin, nMax, itr); ++itr; - while(itr != end() && nVal > nValMax) + while(itr != end() && nVal >= nValMax) { ++nIndex; nValMax = CalcValue(nMin, nMax, itr); ++itr; } - if(nVal > nValMax) + if(nVal >= nValMax) ++nIndex; if(mpFormatData->mbReverse) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits