summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-10-05 13:05:04 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-10-05 13:26:10 -0500
commit276a051ef5dc144a202633779259a4ecd43c81a8 (patch)
treec1dc0cba00d39b5c475d4dc199d84d2932c5b358 /chart2
parent4000d7adea213c9336dc4755b1764489a11c0172 (diff)
coverity#1223085 Unchecked return value
Change-Id: I4149684a6f704893e130bd1776850634fdb67ceb
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/dialogs/res_Trendline.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/res_Trendline.cxx b/chart2/source/controller/dialogs/res_Trendline.cxx
index 9dd896f32362..77e972b40a3f 100644
--- a/chart2/source/controller/dialogs/res_Trendline.cxx
+++ b/chart2/source/controller/dialogs/res_Trendline.cxx
@@ -276,7 +276,7 @@ bool TrendlineResources::FillItemSet(SfxItemSet* rOutAttrs) const
rOutAttrs->Put( SfxBoolItem( SCHATTR_REGRESSION_SET_INTERCEPT, m_pCB_SetIntercept->IsChecked() ));
aValue = 0.0;
- m_pNumFormatter->IsNumberFormat(m_pFmtFld_InterceptValue->GetText(),nIndex,aValue);
+ (void)m_pNumFormatter->IsNumberFormat(m_pFmtFld_InterceptValue->GetText(),nIndex,aValue);
rOutAttrs->Put(SvxDoubleItem( aValue, SCHATTR_REGRESSION_INTERCEPT_VALUE ) );
return true;