summaryrefslogtreecommitdiff
path: root/sw/source/filter/writer
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/writer
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/writer')
-rw-r--r--sw/source/filter/writer/writer.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx
index aa5c9eab397c..be4fbe67571a 100644
--- a/sw/source/filter/writer/writer.cxx
+++ b/sw/source/filter/writer/writer.cxx
@@ -24,6 +24,7 @@
#include <sfx2/docfile.hxx>
#include <svl/urihelper.hxx>
#include <vcl/graphicfilter.hxx>
+#include <tools/diagnose_ex.h>
#include <editeng/fontitem.hxx>
#include <editeng/eeitem.hxx>
#include <sal/log.hxx>
@@ -251,9 +252,9 @@ ErrCode Writer::Write( SwPaM& rPaM, SvStream& rStrm, const OUString* pFName )
if ( nResult == ERRCODE_NONE )
aRef->Commit();
}
- catch (const css::ucb::ContentCreationException &e)
+ catch (const css::ucb::ContentCreationException &)
{
- SAL_WARN("sw", "Writer::Write caught " << e);
+ TOOLS_WARN_EXCEPTION("sw", "Writer::Write caught");
}
return nResult;
}