summaryrefslogtreecommitdiff
path: root/chart2/source/tools/DataSeriesHelper.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/tools/DataSeriesHelper.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/tools/DataSeriesHelper.cxx')
-rw-r--r--chart2/source/tools/DataSeriesHelper.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/chart2/source/tools/DataSeriesHelper.cxx b/chart2/source/tools/DataSeriesHelper.cxx
index ad60f8914c54..45d3cc49947d 100644
--- a/chart2/source/tools/DataSeriesHelper.cxx
+++ b/chart2/source/tools/DataSeriesHelper.cxx
@@ -177,9 +177,9 @@ void lcl_insertOrDeleteDataLabelsToSeriesAndAllPoints( const Reference< chart2::
}
}
}
- catch(const uno::Exception &e)
+ catch(const uno::Exception &)
{
- SAL_WARN("chart2", "Exception caught. " << e );
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
}
@@ -724,9 +724,9 @@ bool hasDataLabelsAtSeries( const Reference< chart2::XDataSeries >& xSeries )
bRet = aLabel.ShowNumber || aLabel.ShowNumberInPercent || aLabel.ShowCategoryName;
}
}
- catch(const uno::Exception &e)
+ catch(const uno::Exception &)
{
- SAL_WARN("chart2", "Exception caught. " << e );
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
return bRet;
}
@@ -757,9 +757,9 @@ bool hasDataLabelsAtPoints( const Reference< chart2::XDataSeries >& xSeries )
}
}
}
- catch(const uno::Exception &e)
+ catch(const uno::Exception &)
{
- SAL_WARN("chart2", "Exception caught. " << e );
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
return bRet;
}
@@ -791,9 +791,9 @@ bool hasDataLabelAtPoint( const Reference< chart2::XDataSeries >& xSeries, sal_I
}
}
}
- catch(const uno::Exception &e)
+ catch(const uno::Exception &)
{
- SAL_WARN("chart2", "Exception caught. " << e );
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
return bRet;
}
@@ -820,9 +820,9 @@ void insertDataLabelToPoint( const Reference< beans::XPropertySet >& xPointProp
xPointProp->setPropertyValue(CHART_UNONAME_LABEL, uno::Any(aLabel));
}
}
- catch(const uno::Exception &e)
+ catch(const uno::Exception &)
{
- SAL_WARN("chart2", "Exception caught. " << e );
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
}
@@ -840,9 +840,9 @@ void deleteDataLabelsFromPoint( const Reference< beans::XPropertySet >& xPointPr
xPointProp->setPropertyValue(CHART_UNONAME_LABEL, uno::Any(aLabel));
}
}
- catch(const uno::Exception &e)
+ catch(const uno::Exception &)
{
- SAL_WARN("chart2", "Exception caught. " << e );
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
}