summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx')
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
index 16dffcb51681..d73182609010 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
@@ -31,6 +31,7 @@
#include <cppuhelper/exc_hlp.hxx>
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
#include <i18nlangtag/languagetag.hxx>
using namespace ::com::sun::star;
@@ -541,7 +542,7 @@ void FormattedFieldElement::endElement()
catch (const util::MalformedNumberFormatException & exc)
{
css::uno::Any anyEx = cppu::getCaughtException();
- SAL_WARN( "xmlscript.xmldlg", exc );
+ SAL_WARN( "xmlscript.xmldlg", exceptionToString(anyEx) );
// rethrow
throw xml::sax::SAXException( exc.Message, Reference< XInterface >(), anyEx );
}