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

use correct value to check for min and max, fdo#51831

Change-Id: I8a5412bc9c22048dd8f6618b38e5a522b7ea02c2
üst afdb8020
...@@ -288,7 +288,7 @@ IMPL_LINK_NOARG( ScDataBarSettingsDlg, OkBtnHdl ) ...@@ -288,7 +288,7 @@ IMPL_LINK_NOARG( ScDataBarSettingsDlg, OkBtnHdl )
mpNumberFormatter->IsNumberFormat(aMinString, nIndex, nMinValue); mpNumberFormatter->IsNumberFormat(aMinString, nIndex, nMinValue);
nIndex = 0; nIndex = 0;
double nMaxValue = 0; double nMaxValue = 0;
mpNumberFormatter->IsNumberFormat(aMaxString, nIndex, nMinValue); mpNumberFormatter->IsNumberFormat(aMaxString, nIndex, nMaxValue);
if(rtl::math::approxEqual(nMinValue, nMaxValue) || nMinValue > nMaxValue) if(rtl::math::approxEqual(nMinValue, nMaxValue) || nMinValue > nMaxValue)
bWarn = true; bWarn = true;
} }
......
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