diff options
Diffstat (limited to 'sw/source/filter/docx/swdocxreader.cxx')
-rw-r--r-- | sw/source/filter/docx/swdocxreader.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/filter/docx/swdocxreader.cxx b/sw/source/filter/docx/swdocxreader.cxx index 4705bc84551a..ea3a2a1065d6 100644 --- a/sw/source/filter/docx/swdocxreader.cxx +++ b/sw/source/filter/docx/swdocxreader.cxx @@ -40,6 +40,8 @@ #include <unotextrange.hxx> #include <sfx2/docfile.hxx> #include <sal/log.hxx> +#include <tools/diagnose_ex.h> + #define AUTOTEXT_GALLERY "autoTxt" using namespace css; @@ -90,9 +92,9 @@ ErrCode SwDOCXReader::Read(SwDoc& rDoc, const OUString& /* rBaseURL */, SwPaM& r { xFilter->filter(aDescriptor); } - catch (uno::Exception const& e) + catch (uno::Exception const&) { - SAL_WARN("sw.docx", "SwDOCXReader::Read(): " << e); + TOOLS_WARN_EXCEPTION("sw.docx", "SwDOCXReader::Read()"); ret = ERR_SWG_READ_ERROR; } pDocShell->SetLoading(SfxLoadedFlags::ALL); |