summaryrefslogtreecommitdiff
path: root/svx/source/gengal
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-17 08:22:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 08:06:53 +0200
commit4079282731cdf276715af6571786ab75845efc15 (patch)
tree1cb1fdfcd69fef31288475dc7ab4edf39afcf4c3 /svx/source/gengal
parent129e799e1acf25d7dcd7ccf0438896cc125e7653 (diff)
loplugin:logexceptionnicely in svx
Change-Id: I741cf5befbec0c2ab353baae4865722ede993c2e Reviewed-on: https://gerrit.libreoffice.org/74143 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/gengal')
-rw-r--r--svx/source/gengal/gengal.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx
index 304b22b11b47..90304bea0d14 100644
--- a/svx/source/gengal/gengal.cxx
+++ b/svx/source/gengal/gengal.cxx
@@ -34,6 +34,7 @@
#include <rtl/bootstrap.hxx>
#include <sfx2/app.hxx>
#include <sal/types.h>
+#include <tools/diagnose_ex.h>
#include <vcl/svapp.hxx>
#include <svx/galtheme.hxx>
@@ -297,9 +298,9 @@ int GalApp::Main()
createTheme( aName, aPath, aDestDir, aFiles, mbRelativeURLs );
}
- catch (const uno::Exception& e)
+ catch (const uno::Exception&)
{
- SAL_WARN("svx", "Fatal: " << e);
+ TOOLS_WARN_EXCEPTION("svx", "Fatal");
return EXIT_FAILURE;
}
catch (const std::exception &e)