summaryrefslogtreecommitdiff
path: root/chart2/source/tools/DataSourceHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/DataSourceHelper.cxx')
-rw-r--r--chart2/source/tools/DataSourceHelper.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/chart2/source/tools/DataSourceHelper.cxx b/chart2/source/tools/DataSourceHelper.cxx
index 4f649239caa0..aa9e7e43b40f 100644
--- a/chart2/source/tools/DataSourceHelper.cxx
+++ b/chart2/source/tools/DataSourceHelper.cxx
@@ -34,6 +34,7 @@
#include <com/sun/star/chart/ChartDataRowSource.hpp>
#include <com/sun/star/chart/ErrorBarStyle.hpp>
+#include <tools/diagnose_ex.h>
#include <iterator>
@@ -107,9 +108,9 @@ void lcl_addErrorBarRanges(
}
}
}
- catch( const uno::Exception & ex )
+ catch( const uno::Exception & )
{
- SAL_WARN("chart2", "Exception caught. " << ex );
+ DBG_UNHANDLED_EXCEPTION("chart2");
}
}
@@ -371,9 +372,9 @@ bool DataSourceHelper::detectRangeSegmentation(
DiagramHelper::getCategoriesFromDiagram( xChartDocument->getFirstDiagram() ));
rOutHasCategories = xCategories.is();
}
- catch( uno::Exception & ex )
+ catch( uno::Exception & )
{
- SAL_WARN("chart2", "Exception caught. " << ex );
+ DBG_UNHANDLED_EXCEPTION("chart2");
}
return bSomethingDetected;
}
@@ -414,9 +415,9 @@ bool DataSourceHelper::allArgumentsForRectRangeDetected(
}
}
}
- catch( const uno::Exception & ex )
+ catch( const uno::Exception & )
{
- SAL_WARN("chart2", "Exception caught. " << ex );
+ DBG_UNHANDLED_EXCEPTION("chart2");
}
return (bHasCellRangeRepresentation && bHasDataRowSource && bHasFirstCellAsLabel);