summaryrefslogtreecommitdiff
path: root/writerfilter/source/filter/RtfFilter.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 15:37:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 20:03:33 +0200
commit697f8edbb0154ed72a42e4e8d7c4942cfe7dd59d (patch)
tree08ee9affc2b08b1d7fe4b9d5c96f192289531a8a /writerfilter/source/filter/RtfFilter.cxx
parent351b9aefe3de7c68e907fdc7926d9b508560320e (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/filter/RtfFilter.cxx')
-rw-r--r--writerfilter/source/filter/RtfFilter.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/writerfilter/source/filter/RtfFilter.cxx b/writerfilter/source/filter/RtfFilter.cxx
index a80c82c43e2f..3c1e975d8ad7 100644
--- a/writerfilter/source/filter/RtfFilter.cxx
+++ b/writerfilter/source/filter/RtfFilter.cxx
@@ -31,6 +31,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <osl/file.hxx>
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
#include <unotools/mediadescriptor.hxx>
#include <unotools/streamwrap.hxx>
#include <unotools/ucbstreamhelper.hxx>
@@ -153,9 +154,9 @@ sal_Bool RtfFilter::filter(const uno::Sequence< beans::PropertyValue >& rDescrip
throw lang::WrappedTargetRuntimeException("",
static_cast<OWeakObject*>(this), anyEx);
}
- catch (const uno::Exception& e)
+ catch (const uno::Exception&)
{
- SAL_INFO("writerfilter", "Exception caught: " << e);
+ TOOLS_INFO_EXCEPTION("writerfilter", "Exception caught");
}
if (xStatusIndicator.is())