diff options
Diffstat (limited to 'xmloff/source/core/DocumentSettingsContext.cxx')
-rw-r--r-- | xmloff/source/core/DocumentSettingsContext.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx index ec3252251e3d..305d1d94853b 100644 --- a/xmloff/source/core/DocumentSettingsContext.cxx +++ b/xmloff/source/core/DocumentSettingsContext.cxx @@ -46,6 +46,7 @@ #include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include <osl/diagnose.h> +#include <tools/diagnose_ex.h> #include <unotools/configmgr.hxx> #include "xmlenums.hxx" @@ -746,10 +747,10 @@ void XMLConfigItemMapIndexedContext::EndElement() { xForbChars->setForbiddenCharacters( aLocale, aForbid ); } - catch (uno::Exception const& e) + catch (uno::Exception const&) { - SAL_WARN("xmloff.core", - "Exception while importing forbidden characters: " << e); + TOOLS_WARN_EXCEPTION("xmloff.core", + "Exception while importing forbidden characters"); } } } |