diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-09 13:48:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-20 10:38:48 +0200 |
commit | ef73fefd023372ec0157683ed9ab349ff551a67c (patch) | |
tree | 7f5b129e567bfca263b333a00d6c3814f49f681d /writerperfect | |
parent | edca548f865f4c19f213c1386905ec3591326461 (diff) |
loplugin:logexceptionnicely in various
Change-Id: I207d21e674366046e2663ebaf7f5161cde2c5fab
Reviewed-on: https://gerrit.libreoffice.org/74336
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/writer/MSWorksImportFilter.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/writerperfect/source/writer/MSWorksImportFilter.cxx b/writerperfect/source/writer/MSWorksImportFilter.cxx index dcef9c2df10b..733364b91211 100644 --- a/writerperfect/source/writer/MSWorksImportFilter.cxx +++ b/writerperfect/source/writer/MSWorksImportFilter.cxx @@ -12,6 +12,7 @@ #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/awt/XWindow.hpp> #include <sal/log.hxx> +#include <tools/diagnose_ex.h> #include <libwps/libwps.h> @@ -83,9 +84,9 @@ bool MSWorksImportFilter::doImportDocument(weld::Window* pParent, return false; } } - catch (css::uno::Exception& e) + catch (css::uno::Exception&) { - SAL_WARN("writerperfect", "ignoring " << e); + TOOLS_WARN_EXCEPTION("writerperfect", "ignoring"); } return libwps::WPS_OK == libwps::WPSDocument::parse(&rInput, &rGenerator, "", fileEncoding.c_str()); |