summaryrefslogtreecommitdiff
path: root/svtools/source/config
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-17 08:22:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 08:06:33 +0200
commit129e799e1acf25d7dcd7ccf0438896cc125e7653 (patch)
tree7a04097e0a119bb56d68ad284c9ccb7e29d71898 /svtools/source/config
parent8a453f96f0181b1eae227ebdadea6ee458d53eb4 (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/source/config')
-rw-r--r--svtools/source/config/itemholder2.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svtools/source/config/itemholder2.cxx b/svtools/source/config/itemholder2.cxx
index cbd78826d7c0..2871aa3a512b 100644
--- a/svtools/source/config/itemholder2.cxx
+++ b/svtools/source/config/itemholder2.cxx
@@ -35,6 +35,7 @@
#include <svtools/printoptions.hxx>
#include <unotools/options.hxx>
#include <svtools/miscopt.hxx>
+#include <tools/diagnose_ex.h>
namespace svtools {
@@ -54,13 +55,13 @@ ItemHolder2::ItemHolder2()
throw;
}
#ifdef DBG_UTIL
- catch(const css::uno::Exception& rEx)
+ catch(const css::uno::Exception&)
{
static bool bMessage = true;
if(bMessage)
{
bMessage = false;
- SAL_WARN( "svtools", "CreateInstance with arguments: " << rEx );
+ TOOLS_WARN_EXCEPTION( "svtools", "CreateInstance with arguments" );
}
}
#else