summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-16 14:04:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-17 09:30:44 +0200
commit0d280f7092c2c309d712d238ae37efd0b4bb84a9 (patch)
tree4578f18bcfd215f9e25a8d4d9bbda5b8588494cb /include/tools
parent0e0d8af4e4f697da76fa37a2533798d9dc55597c (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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tools/diagnose_ex.h b/include/tools/diagnose_ex.h
index c03d2ec650ca..2d76241cadd0 100644
--- a/include/tools/diagnose_ex.h
+++ b/include/tools/diagnose_ex.h
@@ -140,7 +140,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)
@@ -150,7 +150,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)
@@ -160,7 +160,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)