diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 09:32:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 11:33:03 +0200 |
commit | 399edcb0bca8e1cfc55ca68237cdb470bcc54932 (patch) | |
tree | e836d1094bb43291549b6a7ba3915ed2ef98beab /sw/source/core/view/viewimp.cxx | |
parent | 7d9ff70206dbd75a7751515b642fbbbc8878c159 (diff) |
loplugin:logexceptionnicely in sw
Change-Id: I92c84f5c869e5ccab344f7e3591d68a90a20eefa
Reviewed-on: https://gerrit.libreoffice.org/74243
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/view/viewimp.cxx')
-rw-r--r-- | sw/source/core/view/viewimp.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/core/view/viewimp.cxx b/sw/source/core/view/viewimp.cxx index 7e0022f53c2b..aba0c251e3da 100644 --- a/sw/source/core/view/viewimp.cxx +++ b/sw/source/core/view/viewimp.cxx @@ -36,6 +36,7 @@ #include <svx/svdundo.hxx> #include <comphelper/lok.hxx> #include <sal/log.hxx> +#include <tools/diagnose_ex.h> #include <IDocumentLayoutAccess.hxx> #include <IDocumentDrawModelAccess.hxx> #include <IDocumentDeviceAccess.hxx> @@ -302,9 +303,9 @@ void SwViewShellImp::UpdateAccessible() { GetAccessibleMap().GetDocumentView(); } - catch (uno::Exception const& e) + catch (uno::Exception const&) { - SAL_WARN("sw.a11y", e); + TOOLS_WARN_EXCEPTION("sw.a11y", ""); assert(!"SwViewShellImp::UpdateAccessible: unhandled exception"); } } |