summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/XMLChartStyleContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/chart/XMLChartStyleContext.cxx')
-rw-r--r--xmloff/source/chart/XMLChartStyleContext.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmloff/source/chart/XMLChartStyleContext.cxx b/xmloff/source/chart/XMLChartStyleContext.cxx
index ceee2fd60b5c..43769342a293 100644
--- a/xmloff/source/chart/XMLChartStyleContext.cxx
+++ b/xmloff/source/chart/XMLChartStyleContext.cxx
@@ -27,6 +27,7 @@
#include <sal/log.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
+#include <tools/diagnose_ex.h>
#include "XMLChartPropertyContext.hxx"
@@ -102,7 +103,8 @@ void XMLChartStyleContext::FillPropertySet(
}
catch( beans::UnknownPropertyException& )
{
- SAL_WARN( "xmloff", "unknown property exception -> shape style not completely imported for chart style" );
+ css::uno::Any ex( cppu::getCaughtException() );
+ SAL_WARN( "xmloff", "unknown property exception -> shape style not completely imported for chart style " << exceptionToString(ex) );
}
lcl_NumberFormatStyleToProperty( msDataStyleName, "NumberFormat", mrStyles, rPropSet );