diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-25 11:29:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-25 13:56:03 +0200 |
commit | 080fa092f466d5ba457852736a3fd6c6cb0dc4b8 (patch) | |
tree | 48694c48fec2624940eb9f325c6a6e64bbb49b1f /svx | |
parent | 726d7e7b8b50dca9914329dbfd9491f7c8961f68 (diff) |
improve some logging
if we're going to write "unhandled" messages, at least what is being
unhandled
Change-Id: I570183c92876d553f4344b979def653cbd5bb55d
Reviewed-on: https://gerrit.libreoffice.org/54793
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/accessibility/AccessibleTextHelper.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/accessibility/AccessibleTextHelper.cxx b/svx/source/accessibility/AccessibleTextHelper.cxx index 2707d768c273..f19e3a518c47 100644 --- a/svx/source/accessibility/AccessibleTextHelper.cxx +++ b/svx/source/accessibility/AccessibleTextHelper.cxx @@ -66,6 +66,7 @@ #include <editeng/editdata.hxx> #include <editeng/editeng.hxx> #include <editeng/editview.hxx> +#include <tools/diagnose_ex.h> using namespace ::com::sun::star; using namespace ::com::sun::star::accessibility; @@ -1285,7 +1286,7 @@ namespace accessibility } catch( const uno::Exception& ) { - SAL_WARN("svx", "Unhandled exception."); + DBG_UNHANDLED_EXCEPTION("svx"); } } } @@ -1399,7 +1400,7 @@ namespace accessibility } catch( const uno::Exception& ) { - SAL_WARN("svx", "Unhandled exception."); + DBG_UNHANDLED_EXCEPTION("svx"); mbInNotify = false; } |