From 48fbfe38f60de731ff8bec0372179bedd6670af4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 5 Apr 2018 16:20:13 +0200 Subject: use more DBG_UNHANDLED_EXCEPTION so we get nice logs of the exception dynamic type for UNO exceptions. Change-Id: Ic0b10dc14d354a2c9a0591b3a51d2f1640d54bdb Reviewed-on: https://gerrit.libreoffice.org/52465 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sdext/Library_PresenterScreen.mk | 1 + sdext/source/presenter/PresenterConfigurationAccess.cxx | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sdext') diff --git a/sdext/Library_PresenterScreen.mk b/sdext/Library_PresenterScreen.mk index 7edc2b24e88b..9ffeb9657b16 100644 --- a/sdext/Library_PresenterScreen.mk +++ b/sdext/Library_PresenterScreen.mk @@ -23,6 +23,7 @@ $(eval $(call gb_Library_use_libraries,PresenterScreen,\ cppu \ cppuhelper \ sal \ + tl \ vcl \ )) diff --git a/sdext/source/presenter/PresenterConfigurationAccess.cxx b/sdext/source/presenter/PresenterConfigurationAccess.cxx index 7855179b2d4c..c1ca22f77dd0 100644 --- a/sdext/source/presenter/PresenterConfigurationAccess.cxx +++ b/sdext/source/presenter/PresenterConfigurationAccess.cxx @@ -26,6 +26,7 @@ #include #include #include +#include using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -65,9 +66,9 @@ PresenterConfigurationAccess::PresenterConfigurationAccess ( maNode <<= mxRoot; } } - catch (const Exception& rException) + catch (const Exception&) { - SAL_WARN("sdext.presenter", "caught exception while opening configuration: " << rException); + DBG_UNHANDLED_EXCEPTION("sdext.presenter", "caught exception while opening configuration"); } } -- cgit