Kaydet (Commit) f1d5c278 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

the safety check was a bit too strict, fdo#77984

Change-Id: Idfc3b3dd1d9f4de428e43c515b13a8d7e40e347c
üst 4439abe3
...@@ -991,7 +991,7 @@ ScIconSetInfo* ScIconSetFormat::GetIconSetInfo(const ScAddress& rAddr) const ...@@ -991,7 +991,7 @@ ScIconSetInfo* ScIconSetFormat::GetIconSetInfo(const ScAddress& rAddr) const
double nMax = GetMaxValue(); double nMax = GetMaxValue();
// this check is for safety // this check is for safety
if(nMin >= nMax) if(nMin > nMax)
return NULL; return NULL;
sal_Int32 nIndex = 0; sal_Int32 nIndex = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment