diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 09:33:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 10:46:40 +0200 |
commit | a2e4b76e29e491bac4f9e6dfd9929dfd49a4b05e (patch) | |
tree | adc41305c2e5dc94631d81f6b027464d1a15358f /vcl/unx/gtk | |
parent | 70accc2904edb5c4aa9b5acb7ff2889a77717b75 (diff) |
loplugin:logexceptionnicely in vcl
Change-Id: I0ed575a11c84c2e8aabfa1b4204ba6ae27393d5f
Reviewed-on: https://gerrit.libreoffice.org/74245
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r-- | vcl/unx/gtk/gtksalframe.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx index 75526e55a59b..425ad0562d82 100644 --- a/vcl/unx/gtk/gtksalframe.cxx +++ b/vcl/unx/gtk/gtksalframe.cxx @@ -34,6 +34,7 @@ #include <rtl/bootstrap.hxx> #include <rtl/process.h> #include <sal/log.hxx> +#include <tools/diagnose_ex.h> #include <vcl/floatwin.hxx> #include <vcl/svapp.hxx> #include <vcl/window.hxx> @@ -3509,9 +3510,9 @@ static uno::Reference<accessibility::XAccessibleEditableText> lcl_GetxText(vcl:: if (xAccessible.is()) xText = FindFocusedEditableText(xAccessible->getAccessibleContext()); } - catch(const uno::Exception& e) + catch(const uno::Exception&) { - SAL_WARN( "vcl.gtk", "Exception in getting input method surrounding text: " << e); + TOOLS_WARN_EXCEPTION( "vcl.gtk", "Exception in getting input method surrounding text"); } return xText; } |