sc/source/core/data/colorscale.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c624eea0e46e84c68d1a1ad79ef217390bd28ef3 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Tue Apr 29 00:48:07 2014 +0200 the safety check was a bit too strict, fdo#77984 Change-Id: Idfc3b3dd1d9f4de428e43c515b13a8d7e40e347c (cherry picked from commit f1d5c27892b0b6a5dc81c94dbf61f9285a52aa5a) Signed-off-by: Kohei Yoshida <kohei.yosh...@collabora.com> diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx index 29d53b7..e186220 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits