diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-14 15:26:27 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-14 15:32:12 +0100 |
commit | 4dc71bcf6e6a757a8369c46db1c24e98679d1506 (patch) | |
tree | 5628d6f2cfdce565b87ded73297286b35010a485 | |
parent | 22b20e8b5ac29bf02b137d48c34c94edb2e1d628 (diff) |
use >= as mentioned in the UI, fdo#60798
Change-Id: Iac6737e98eb0961de22036f42634ebad7d42dfcc
-rw-r--r-- | sc/source/core/data/colorscale.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx index bef5acaf6e44..0d17fa6df187 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) |