diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-14 09:31:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-14 11:29:43 +0200 |
commit | cdcc2f365b6f9b88bd9d5dfd4e7c7131599f62ec (patch) | |
tree | c619bbd6a0b17049799cee247d682941ecd898e3 /accessibility | |
parent | 48b9951779630da115086ce1fe8f4ffb5b0b4530 (diff) |
loplugin:logexceptionnicely in accessibility..basic
Change-Id: I6e0b95b40e3d62db36352f3ea916f79f3dbc9084
Reviewed-on: https://gerrit.libreoffice.org/74018
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/source/extended/textwindowaccessibility.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index 63ea654a3728..b1e8150d2163 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -29,6 +29,7 @@ #include <unotools/accessiblerelationsethelper.hxx> #include <unotools/accessiblestatesethelper.hxx> #include <vcl/window.hxx> +#include <tools/diagnose_ex.h> #include <toolkit/helper/convert.hxx> #include <comphelper/sequence.hxx> @@ -267,11 +268,9 @@ void SAL_CALL Paragraph::grabFocus() { m_xDocument->changeParagraphSelection(this, 0, 0); } - catch (const css::lang::IndexOutOfBoundsException & rEx) + catch (const css::lang::IndexOutOfBoundsException &) { - SAL_INFO("accessibility", - "textwindowaccessibility.cxx: Paragraph::grabFocus: caught unexpected " - << rEx); + TOOLS_INFO_EXCEPTION("accessibility", "Paragraph::grabFocus: caught unexpected"); } } |