diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-17 08:22:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 08:06:33 +0200 |
commit | 129e799e1acf25d7dcd7ccf0438896cc125e7653 (patch) | |
tree | 7a04097e0a119bb56d68ad284c9ccb7e29d71898 /svtools/langsupport | |
parent | 8a453f96f0181b1eae227ebdadea6ee458d53eb4 (diff) |
loplugin:logexceptionnicely in svtools
Change-Id: I631f3750af2e9a26d0a034f5a22d5b0c2910325c
Reviewed-on: https://gerrit.libreoffice.org/74142
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/langsupport')
-rw-r--r-- | svtools/langsupport/langsupport.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svtools/langsupport/langsupport.cxx b/svtools/langsupport/langsupport.cxx index 1aae3df70277..7c25d8382b1f 100644 --- a/svtools/langsupport/langsupport.cxx +++ b/svtools/langsupport/langsupport.cxx @@ -15,6 +15,7 @@ #include <i18nlangtag/languagetag.hxx> #include <sal/main.h> #include <svtools/langtab.hxx> +#include <tools/diagnose_ex.h> #include <tools/extendapplicationenvironment.hxx> #include <vcl/svapp.hxx> #include <iostream> @@ -65,9 +66,9 @@ SAL_IMPLEMENT_MAIN() uno::Reference< lang::XComponent >(xContext, uno::UNO_QUERY_THROW)->dispose(); } - catch (const uno::Exception& e) + catch (const uno::Exception&) { - SAL_WARN("vcl.app", "Fatal: " << e); + TOOLS_WARN_EXCEPTION("vcl.app", "Fatal"); return 1; } catch (const std::exception &e) |