diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 15:37:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 20:03:33 +0200 |
commit | 697f8edbb0154ed72a42e4e8d7c4942cfe7dd59d (patch) | |
tree | 08ee9affc2b08b1d7fe4b9d5c96f192289531a8a /writerfilter/source/rtftok/rtfdocumentimpl.cxx | |
parent | 351b9aefe3de7c68e907fdc7926d9b508560320e (diff) |
loplugin:logexceptionnicely in writerfilter
Change-Id: Ie01d0e6af6af0cfeb46cdde38f52ab068b64db6b
Reviewed-on: https://gerrit.libreoffice.org/74284
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/rtftok/rtfdocumentimpl.cxx')
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 43463dabc152..b829c8aa9fd2 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -25,6 +25,7 @@ #include <filter/msfilter/util.hxx> #include <filter/msfilter/rtfutil.hxx> #include <comphelper/string.hxx> +#include <tools/diagnose_ex.h> #include <tools/globname.hxx> #include <tools/datetimeutils.hxx> #include <comphelper/classids.hxx> @@ -3161,10 +3162,9 @@ RTFError RTFDocumentImpl::popState() xDocumentPropertyContainer->addProperty( rKey, beans::PropertyAttribute::REMOVABLE, aValue); } - catch (const uno::Exception& rException) + catch (const uno::Exception&) { - SAL_WARN("writerfilter.rtf", - "failed to set property " << rKey << ": " << rException); + TOOLS_WARN_EXCEPTION("writerfilter.rtf", "failed to set property " << rKey); } } } |