diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-14 13:46:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-14 17:09:24 +0100 |
commit | 902a3df2daa196e2182b0741f0ec3849d158f42b (patch) | |
tree | ed0caf841af67f6b259ae35f9ff8435e74d2fdd7 /sc | |
parent | 713524780312315e63f53deac96eaeef8c4e0e13 (diff) |
coverity#735315 Unchecked return value
Change-Id: If2e8d3cfe49a039cc27035ae9c0f037c2d60b122
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/condformat/colorformat.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/condformat/colorformat.cxx b/sc/source/ui/condformat/colorformat.cxx index 4590ea3c623b..28815b1ed790 100644 --- a/sc/source/ui/condformat/colorformat.cxx +++ b/sc/source/ui/condformat/colorformat.cxx @@ -208,10 +208,10 @@ IMPL_LINK_NOARG( ScDataBarSettingsDlg, OkBtnHdl ) OUString aMaxString = mpEdMax->GetText(); double nMinValue = 0; sal_uInt32 nIndex = 0; - mpNumberFormatter->IsNumberFormat(aMinString, nIndex, nMinValue); + (void)mpNumberFormatter->IsNumberFormat(aMinString, nIndex, nMinValue); nIndex = 0; double nMaxValue = 0; - mpNumberFormatter->IsNumberFormat(aMaxString, nIndex, nMaxValue); + (void)mpNumberFormatter->IsNumberFormat(aMaxString, nIndex, nMaxValue); if(rtl::math::approxEqual(nMinValue, nMaxValue) || nMinValue > nMaxValue) bWarn = true; } |