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-05-01 20:50:39 +0200
commit6a8d8c4bbd248816ce8d542c293e3db2f8df384c (patch)
tree72faa6b15d38bb4e3bf47ee6d8c6ed08f4eff200
parent85c73e11d81c067d7f604570dc6796108541d7ce (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 2eca97c75082..e1e203a61c71 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -796,7 +796,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;