Kaydet (Commit) c0b78901 authored tarafından Michael Meeks's avatar Michael Meeks

Missing zip files now result in a DeploymentException so ignore that.

DeploymentException seems to be a hard RuntimeException, so this is a
new behaviour. We need to think if zip::ZipFileAccess::createWithURL
should return that; see 28e3aff5

Change-Id: Ie99ea4c7519cbc1aa7790768d7e9e0c2edef68e0
üst 30a98a58
......@@ -301,8 +301,6 @@ bool ImplImageTree::find(
if (!m_path.second.is()) {
try {
m_path.second = css::packages::zip::ZipFileAccess::createWithURL(comphelper::getProcessComponentContext(), m_path.first + ".zip");
} catch (css::uno::RuntimeException &) {
throw;
} catch (const css::uno::Exception & e) {
SAL_INFO("vcl", "ImplImageTree::find exception "
<< e.Message << " for " << m_path.first);
......@@ -344,10 +342,6 @@ void ImplImageTree::loadImageLinks()
{
m_path.second = css::packages::zip::ZipFileAccess::createWithURL(comphelper::getProcessComponentContext(), m_path.first + ".zip");
}
catch (css::uno::RuntimeException &)
{
throw;
}
catch (const css::uno::Exception & e)
{
SAL_INFO("vcl", "ImplImageTree::find exception "
......
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