From 399edcb0bca8e1cfc55ca68237cdb470bcc54932 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 18 Jun 2019 09:32:29 +0200 Subject: loplugin:logexceptionnicely in sw Change-Id: I92c84f5c869e5ccab344f7e3591d68a90a20eefa Reviewed-on: https://gerrit.libreoffice.org/74243 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/filter/ww8/ww8toolbar.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sw/source/filter/ww8/ww8toolbar.cxx') 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 #include #include +#include #include #include #include @@ -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; -- cgit