Kaydet (Commit) 0a5f8dcd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

...assuming these want to actually catch css::uno::Exceptions

(which ones? or is this just needless cargo cult anyway?)

Change-Id: If1450d4f34acd1475eb71c49e0eaf99c40833a8e
üst b8f3b8fd
...@@ -68,8 +68,9 @@ bool MSWorksCalcImportFilter::doImportDocument(librevenge::RVNGInputStream &rInp ...@@ -68,8 +68,9 @@ bool MSWorksCalcImportFilter::doImportDocument(librevenge::RVNGInputStream &rInp
else if (pDlg->hasUserCalledCancel()) else if (pDlg->hasUserCalledCancel())
return false; return false;
} }
catch (...) catch (css::uno::Exception & e)
{ {
SAL_WARN("writerperfect", "ignoring Exception " << e.Message);
} }
} }
return libwps::WPS_OK == libwps::WPSDocument::parse(&rInput, &rGenerator, "", fileEncoding.c_str()); return libwps::WPS_OK == libwps::WPSDocument::parse(&rInput, &rGenerator, "", fileEncoding.c_str());
......
...@@ -58,8 +58,9 @@ bool MSWorksImportFilter::doImportDocument(librevenge::RVNGInputStream &rInput, ...@@ -58,8 +58,9 @@ bool MSWorksImportFilter::doImportDocument(librevenge::RVNGInputStream &rInput,
return false; return false;
} }
} }
catch (...) catch (css::uno::Exception & e)
{ {
SAL_WARN("writerperfect", "ignoring Exception " << e.Message);
} }
return libwps::WPS_OK == libwps::WPSDocument::parse(&rInput, &rGenerator, "", fileEncoding.c_str()); return libwps::WPS_OK == libwps::WPSDocument::parse(&rInput, &rGenerator, "", fileEncoding.c_str());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment