summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/ChartView.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 09:31:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 10:49:55 +0200
commitbba7ca803cfcb316882c5f32cd28f0aa0c67591b (patch)
tree4a26499c6571bc24fc4d73782bf4c452a33bce6a /chart2/source/view/main/ChartView.cxx
parentaf37bb23f63b209af1193e20177c3aacbd777543 (diff)
loplugin:logexceptionnicely in chart2
Change-Id: Ib7933723e5506578bbc85cc431d54d1ed8466376 Reviewed-on: https://gerrit.libreoffice.org/74019 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/view/main/ChartView.cxx')
-rw-r--r--chart2/source/view/main/ChartView.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index bb73719ec708..44a70013bf64 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -490,9 +490,9 @@ void SeriesPlotterContainer::initializeCooSysAndSeriesPlotter(
xAxisProp->getPropertyValue("Show") >>= bSecondaryYaxisVisible;
}
}
- catch (const lang::IndexOutOfBoundsException& e)
+ catch (const lang::IndexOutOfBoundsException&)
{
- SAL_WARN("chart2", "Exception caught. " << e);
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
//iterate through all chart types in the current coordinate system
uno::Reference< XChartTypeContainer > xChartTypeContainer( xCooSys, uno::UNO_QUERY );
@@ -764,9 +764,9 @@ void SeriesPlotterContainer::setNumberFormatsFromAxes()
}
}
}
- catch( const lang::IndexOutOfBoundsException& e )
+ catch( const lang::IndexOutOfBoundsException& )
{
- SAL_WARN("chart2", "Exception caught. " << e );
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
}
}
@@ -1872,9 +1872,9 @@ bool lcl_getPropertySwapXAndYAxis( const uno::Reference< XDiagram >& xDiagram )
{
xProp->getPropertyValue( "SwapXAndYAxis" ) >>= bSwapXAndY;
}
- catch( const uno::Exception& e )
+ catch( const uno::Exception& )
{
- SAL_WARN("chart2", "Exception caught. " << e );
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
}
}
@@ -2456,9 +2456,9 @@ void ChartView::impl_refreshAddIn()
xAddIn->refresh();
}
}
- catch( const uno::Exception& e )
+ catch( const uno::Exception& )
{
- SAL_WARN("chart2", "Exception caught. " << e );
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
}