diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-16 14:04:42 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-08-05 21:06:48 -0400 |
commit | 8f11f8abc2be94fb0ea6e452a32adc0beefb4db8 (patch) | |
tree | 9e38f72992adf2b0b22906ab66684f2fdd9f9d5a /include/tools | |
parent | 1d2dcc386c67d07af7f8348723b2afc5c0534060 (diff) |
cid#1399432 Uncaught exception
Change-Id: I6dd5ce2e3b5b9d30d4e7e56c837fd8ccff6c99a3
Reviewed-on: https://gerrit.libreoffice.org/75733
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/diagnose_ex.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tools/diagnose_ex.h b/include/tools/diagnose_ex.h index a70a4e0ab60f..78be153362c3 100644 --- a/include/tools/diagnose_ex.h +++ b/include/tools/diagnose_ex.h @@ -139,7 +139,7 @@ TOOLS_DLLPUBLIC OString exceptionToString(css::uno::Any const & caughtEx); */ #define TOOLS_WARN_EXCEPTION(area, stream) \ do { \ - css::uno::Any tools_warn_exception( cppu::getCaughtException() ); \ + css::uno::Any tools_warn_exception( DbgGetCaughtException() ); \ SAL_WARN(area, stream << " " << exceptionToString(tools_warn_exception)); \ } while (false) @@ -149,7 +149,7 @@ TOOLS_DLLPUBLIC OString exceptionToString(css::uno::Any const & caughtEx); */ #define TOOLS_WARN_EXCEPTION_IF(cond, area, stream) \ do { \ - css::uno::Any tools_warn_exception( cppu::getCaughtException() ); \ + css::uno::Any tools_warn_exception( DbgGetCaughtException() ); \ SAL_WARN_IF(cond, area, stream << " " << exceptionToString(tools_warn_exception)); \ } while (false) @@ -159,7 +159,7 @@ TOOLS_DLLPUBLIC OString exceptionToString(css::uno::Any const & caughtEx); */ #define TOOLS_INFO_EXCEPTION(area, stream) \ do { \ - css::uno::Any tools_warn_exception( cppu::getCaughtException() ); \ + css::uno::Any tools_warn_exception( DbgGetCaughtException() ); \ SAL_INFO(area, stream << " " << exceptionToString(tools_warn_exception)); \ } while (false) |