summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-04-29 00:48:07 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-04-29 02:15:43 +0200
commitf1d5c27892b0b6a5dc81c94dbf61f9285a52aa5a (patch)
treec2f89bea21ccaf6bea1b13c2481d87fbff63545d
parent4439abe30f5ff76f99b5e35cf9655910332fe65c (diff)
the safety check was a bit too strict, fdo#77984
Change-Id: Idfc3b3dd1d9f4de428e43c515b13a8d7e40e347c
-rw-r--r--sc/source/core/data/colorscale.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index 4588550e2130..c3c6e457748c 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -991,7 +991,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;