summaryrefslogtreecommitdiff
path: root/cui/source/options/optinet2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 15:29:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-15 12:24:53 +0200
commit4466466a5c57a0d19ad8559ac699cf073f7e3e97 (patch)
treedba94658e41dcad542edd2f3f36a7ae8c0744eb1 /cui/source/options/optinet2.cxx
parent5195c5bcd8be5f3b183659ead272cd86b8774cc1 (diff)
loplugin:logexceptionnicely in cui
Change-Id: I0a3186b7f6d28725aff0e73d8f2cc4d5bc259a92 Reviewed-on: https://gerrit.libreoffice.org/74044 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/options/optinet2.cxx')
-rw-r--r--cui/source/options/optinet2.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index 9353b990e847..e4a16a298cf6 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -48,6 +48,7 @@
#include <unotools/securityoptions.hxx>
#include <unotools/extendedsecurityoptions.hxx>
#include <com/sun/star/uno/Sequence.hxx>
+#include <tools/diagnose_ex.h>
#include <dialmgr.hxx>
#include "optinet2.hxx"
@@ -825,9 +826,9 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, MacroSecPBHdl, Button*, void)
xD->setParentWindow(VCLUnoHelper::GetInterface(GetParentDialog()));
xD->manageTrustedSources();
}
- catch (const Exception& e)
+ catch (const Exception&)
{
- SAL_WARN( "cui.options", e);
+ TOOLS_WARN_EXCEPTION( "cui.options", "");
}
}