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 --- cui/source/options/optpath.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cui') diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx index e053b3514d1c..cfd41c1b40c4 100644 --- a/cui/source/options/optpath.cxx +++ b/cui/source/options/optpath.cxx @@ -50,6 +50,7 @@ #include #include "optHeaderTabListbox.hxx" #include +#include using namespace css; using namespace css::beans; @@ -648,9 +649,9 @@ IMPL_LINK_NOARG(SvxPathTabPage, PathHdl_Impl, Button*, void) ChangeCurrentEntry(aPathSeq[0]); } } - catch (const uno::Exception& rException) + catch (const uno::Exception&) { - SAL_WARN("cui.options", "SvxPathTabPage::PathHdl_Impl: exception from file picker: " << rException); + DBG_UNHANDLED_EXCEPTION("cui.options", "exception from file picker"); } } } -- cgit