diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-04-29 00:48:07 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-04-28 20:35:28 -0400 |
commit | c624eea0e46e84c68d1a1ad79ef217390bd28ef3 (patch) | |
tree | 8c4f2a50bec3a3b15ffe568cb9cc769055c0881c | |
parent | bfc8a79c957dd65dc7e42c47c4fc6de61443fa29 (diff) |
the safety check was a bit too strict, fdo#77984
Change-Id: Idfc3b3dd1d9f4de428e43c515b13a8d7e40e347c
(cherry picked from commit f1d5c27892b0b6a5dc81c94dbf61f9285a52aa5a)
Signed-off-by: Kohei Yoshida <kohei.yoshida@collabora.com>
-rw-r--r-- | sc/source/core/data/colorscale.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx index 29d53b7adb11..e1862206af56 100644 --- a/sc/source/core/data/colorscale.cxx +++ b/sc/source/core/data/colorscale.cxx @@ -996,7 +996,7 @@ ScIconSetInfo* ScIconSetFormat::GetIconSetInfo(const ScAddress& rAddr) const double nMax = GetMaxValue(); // this check is for safety - if(nMin >= nMax) + if(nMin > nMax) return NULL; sal_Int32 nIndex = 0; |