summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8toolbar.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 09:32:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 11:33:03 +0200
commit399edcb0bca8e1cfc55ca68237cdb470bcc54932 (patch)
treee836d1094bb43291549b6a7ba3915ed2ef98beab /sw/source/filter/ww8/ww8toolbar.cxx
parent7d9ff70206dbd75a7751515b642fbbbc8878c159 (diff)
loplugin:logexceptionnicely in sw
Change-Id: I92c84f5c869e5ccab344f7e3591d68a90a20eefa Reviewed-on: https://gerrit.libreoffice.org/74243 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/ww8toolbar.cxx')
-rw-r--r--sw/source/filter/ww8/ww8toolbar.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx
index 1724d2e5bb07..c03777bbbdf8 100644
--- a/sw/source/filter/ww8/ww8toolbar.cxx
+++ b/sw/source/filter/ww8/ww8toolbar.cxx
@@ -20,6 +20,7 @@
#include <fstream>
#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
+#include <tools/diagnose_ex.h>
#include <unotools/configmgr.hxx>
#include <vcl/graph.hxx>
#include <map>
@@ -458,9 +459,9 @@ bool SwCTB::ImportCustomToolBar( SwCTBWrapper& rWrapper, CustomToolBarImportHelp
#endif
bRes = true;
}
- catch( const uno::Exception& e )
+ catch( const uno::Exception& )
{
- SAL_INFO("sw.ww8","***** For some reason we have an " << e );
+ TOOLS_INFO_EXCEPTION("sw.ww8","***** For some reason we have an" );
bRes = false;
}
return bRes;