summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-10 16:37:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-10 18:14:36 +0100
commitd1217a95ef16e662586b88c9f3c9a447eba41e46 (patch)
tree83cc5cfc4b5484e507943036aef1b770076c6e06 /chart2
parent430e19e4f9c24985f855d5e607aaef63d110ddeb (diff)
coverity#1223085 Unchecked return value
there were three of these, not just one i.e. see also commit 276a051ef5dc144a202633779259a4ecd43c81a8 Date: Sun Oct 5 13:05:04 2014 -0500 coverity#1223085 Unchecked return value Change-Id: I07ee033ae31a346a08f68a6edfa480505fe6c11a
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/dialogs/res_Trendline.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/res_Trendline.cxx b/chart2/source/controller/dialogs/res_Trendline.cxx
index 77e972b40a3f..8c48e2af0240 100644
--- a/chart2/source/controller/dialogs/res_Trendline.cxx
+++ b/chart2/source/controller/dialogs/res_Trendline.cxx
@@ -265,11 +265,11 @@ bool TrendlineResources::FillItemSet(SfxItemSet* rOutAttrs) const
sal_uInt32 nIndex = 0;
double aValue = 0.0;
- m_pNumFormatter->IsNumberFormat(m_pFmtFld_ExtrapolateForward->GetText(),nIndex,aValue);
+ (void)m_pNumFormatter->IsNumberFormat(m_pFmtFld_ExtrapolateForward->GetText(),nIndex,aValue);
rOutAttrs->Put(SvxDoubleItem( aValue, SCHATTR_REGRESSION_EXTRAPOLATE_FORWARD ) );
aValue = 0.0;
- m_pNumFormatter->IsNumberFormat(m_pFmtFld_ExtrapolateBackward->GetText(),nIndex,aValue);
+ (void)m_pNumFormatter->IsNumberFormat(m_pFmtFld_ExtrapolateBackward->GetText(),nIndex,aValue);
rOutAttrs->Put(SvxDoubleItem( aValue, SCHATTR_REGRESSION_EXTRAPOLATE_BACKWARD ) );
if( m_pCB_SetIntercept->GetState() != TRISTATE_INDET )