diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-04-29 00:48:07 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-04-29 02:15:43 +0200 |
commit | f1d5c27892b0b6a5dc81c94dbf61f9285a52aa5a (patch) | |
tree | c2f89bea21ccaf6bea1b13c2481d87fbff63545d /sc | |
parent | 4439abe30f5ff76f99b5e35cf9655910332fe65c (diff) |
the safety check was a bit too strict, fdo#77984
Change-Id: Idfc3b3dd1d9f4de428e43c515b13a8d7e40e347c
Diffstat (limited to 'sc')
-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 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; |