summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/writer/MSWorksImportFilter.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/writerperfect/source/writer/MSWorksImportFilter.cxx b/writerperfect/source/writer/MSWorksImportFilter.cxx
index dcef9c2df10b..733364b91211 100644
--- a/writerperfect/source/writer/MSWorksImportFilter.cxx
+++ b/writerperfect/source/writer/MSWorksImportFilter.cxx
@@ -12,6 +12,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/awt/XWindow.hpp>
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
#include <libwps/libwps.h>
@@ -83,9 +84,9 @@ bool MSWorksImportFilter::doImportDocument(weld::Window* pParent,
return false;
}
}
- catch (css::uno::Exception& e)
+ catch (css::uno::Exception&)
{
- SAL_WARN("writerperfect", "ignoring " << e);
+ TOOLS_WARN_EXCEPTION("writerperfect", "ignoring");
}
return libwps::WPS_OK
== libwps::WPSDocument::parse(&rInput, &rGenerator, "", fileEncoding.c_str());