diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-09-27 00:11:32 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-09-27 00:22:32 +0200 |
commit | f3531bebd1746e2f3cec2a18d92322ab482ee2ab (patch) | |
tree | 9a716a01cfb7bab24d31c099bd352d74c7b92e84 /sc/source/core | |
parent | c8a5f46b6121106d3efc0a4d45922bf910f6f94c (diff) |
tdf#101104 this paranoid safety check actually causes a bug
Change-Id: Id31f98f5f84eabf603045e4d9f7ebd448689eed5
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/data/colorscale.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx index 2f816b0289a4..25707bfd7a64 100644 --- a/sc/source/core/data/colorscale.cxx +++ b/sc/source/core/data/colorscale.cxx @@ -944,10 +944,6 @@ ScIconSetInfo* ScIconSetFormat::GetIconSetInfo(const ScAddress& rAddr) const double nMin = GetMinValue(); double nMax = GetMaxValue(); - // this check is for safety - if(nMin > nMax) - return nullptr; - sal_Int32 nIndex = 0; const_iterator itr = begin(); ++itr; |