summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 941762e3147e..6a0876f50693 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -99,6 +99,7 @@
#include <svl/zforlist.hxx>
#include <svl/numuno.hxx>
+#include <tools/diagnose_ex.h>
#include <set>
#include <unordered_set>
@@ -187,9 +188,9 @@ Reference< chart2::data::XLabeledDataSequence > lcl_getCategories( const Referen
}
}
}
- catch( const uno::Exception & ex )
+ catch( const uno::Exception & )
{
- SAL_WARN( "oox", "Exception caught. " << ex);
+ DBG_UNHANDLED_EXCEPTION("oox");
}
return xResult;
@@ -234,9 +235,9 @@ bool lcl_isSeriesAttachedToFirstAxis(
xProp->getPropertyValue("AttachedAxisIndex") >>= nAxisIndex;
bResult = (0==nAxisIndex);
}
- catch( const uno::Exception & ex )
+ catch( const uno::Exception & )
{
- SAL_WARN( "oox", "Exception caught. " << ex);
+ DBG_UNHANDLED_EXCEPTION("oox");
}
return bResult;
@@ -542,9 +543,9 @@ void ChartExport::InitRangeSegmentationProperties( const Reference< chart2::XCha
mbHasCategoryLabels = lcl_hasCategoryLabels( xChartDoc );
}
}
- catch( const uno::Exception & ex )
+ catch( const uno::Exception & )
{
- SAL_WARN( "oox", "Exception caught. " << ex);
+ DBG_UNHANDLED_EXCEPTION("oox");
}
}
@@ -3230,9 +3231,9 @@ void ChartExport::exportDataPoints(
xPropSet = SchXMLSeriesHelper::createOldAPIDataPointPropertySet(
xSeries, nElement, getModel() );
}
- catch( const uno::Exception & rEx )
+ catch( const uno::Exception & )
{
- SAL_WARN( "oox", "Exception caught during Export of data point: " << rEx );
+ DBG_UNHANDLED_EXCEPTION( "oox", "Exception caught during Export of data point" );
}
}
else