summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/DataBrowserModel.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 22:34:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:34:55 +0200
commit88b4ec9afb1e5f7864b570beef1cd3e62a191942 (patch)
treeda8afbb9222b077368309326119c95e3a9e4d006 /chart2/source/controller/dialogs/DataBrowserModel.cxx
parent2b1c731f3c69c1fa1af68e01683711ceda585e07 (diff)
loplugin:casttovoid: chart2
Change-Id: I63a2429860bf0ac3d80a8a43bcbde8b8f00f533f
Diffstat (limited to 'chart2/source/controller/dialogs/DataBrowserModel.cxx')
-rw-r--r--chart2/source/controller/dialogs/DataBrowserModel.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/chart2/source/controller/dialogs/DataBrowserModel.cxx b/chart2/source/controller/dialogs/DataBrowserModel.cxx
index 875137f1f576..f1d4c9dccf2d 100644
--- a/chart2/source/controller/dialogs/DataBrowserModel.cxx
+++ b/chart2/source/controller/dialogs/DataBrowserModel.cxx
@@ -686,9 +686,8 @@ bool DataBrowserModel::setCellAny( sal_Int32 nAtColumn, sal_Int32 nAtRow, const
if( xModifiable.is() )
xModifiable->setModified(true);
}
- catch( const uno::Exception & ex )
+ catch( const uno::Exception & )
{
- (void)(ex);
bResult = false;
}
}
@@ -899,10 +898,7 @@ void DataBrowserModel::updateFromModel()
Reference< beans::XPropertySet > xProp( aCooSysSeq[nCooSysIdx], uno::UNO_QUERY );
xProp->getPropertyValue( "SwapXAndYAxis" ) >>= bSwapXAndYAxis;
}
- catch( const beans::UnknownPropertyException & ex )
- {
- (void)ex;
- }
+ catch( const beans::UnknownPropertyException & ) {}
// add ranges for error bars if present for a series
if( StatisticsHelper::usesErrorBarRanges( aSeries[nSeriesIdx] ))