diff options
Diffstat (limited to 'sw/source/filter/writer')
-rw-r--r-- | sw/source/filter/writer/writer.cxx | 5 |
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; } |