diff options
Diffstat (limited to 'framework/source/dispatch/servicehandler.cxx')
-rw-r--r-- | framework/source/dispatch/servicehandler.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/source/dispatch/servicehandler.cxx b/framework/source/dispatch/servicehandler.cxx index 35ef7daa70c9..d7d75328795e 100644 --- a/framework/source/dispatch/servicehandler.cxx +++ b/framework/source/dispatch/servicehandler.cxx @@ -27,6 +27,7 @@ #include <vcl/svapp.hxx> #include <sal/log.hxx> +#include <tools/diagnose_ex.h> namespace framework{ @@ -217,9 +218,9 @@ css::uno::Reference< css::uno::XInterface > ServiceHandler::implts_dispatch( con // ignore all errors - inclusive runtime errors! // E.g. a script based service (written in Python) could not be executed // because it contains syntax errors, which was detected at runtime... - catch(const css::uno::Exception& e) + catch(const css::uno::Exception&) { - SAL_WARN("fwk.dispatch", "ignored " << e); + TOOLS_WARN_EXCEPTION("fwk.dispatch", "ignored"); xService.clear(); } |