summaryrefslogtreecommitdiff
path: root/vcl/workben/vcldemo.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 09:33:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 10:46:40 +0200
commita2e4b76e29e491bac4f9e6dfd9929dfd49a4b05e (patch)
treeadc41305c2e5dc94631d81f6b027464d1a15358f /vcl/workben/vcldemo.cxx
parent70accc2904edb5c4aa9b5acb7ff2889a77717b75 (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/workben/vcldemo.cxx')
-rw-r--r--vcl/workben/vcldemo.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index befde4053660..3685e905a1ec 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -31,6 +31,7 @@
#include <vcl/ptrstyle.hxx>
#include <salhelper/thread.hxx>
+#include <tools/diagnose_ex.h>
#include <tools/urlobj.hxx>
#include <tools/stream.hxx>
#include <vcl/svapp.hxx>
@@ -2376,9 +2377,9 @@ public:
xWidgets.disposeAndClear();
xPopup.disposeAndClear();
}
- catch (const css::uno::Exception& e)
+ catch (const css::uno::Exception&)
{
- SAL_WARN("vcl.app", "Fatal: " << e);
+ TOOLS_WARN_EXCEPTION("vcl.app", "Fatal");
return 1;
}
catch (const std::exception& e)