summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-06-11 12:05:46 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-06-11 12:08:31 +0100
commitc0b78901dba033ed112a023a787575ae54ef877d (patch)
treec3071dbf634cfdae74cf24a8b0f1b6d9adffc082 /vcl
parent30a98a585102793b4bc77c4ba4706f8199cfe85e (diff)
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 28e3aff576f06b0b02c7232da5d723e865b3c7ed Change-Id: Ie99ea4c7519cbc1aa7790768d7e9e0c2edef68e0
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/impimagetree.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/source/gdi/impimagetree.cxx b/vcl/source/gdi/impimagetree.cxx
index 6f7c566f8d8d..fbeccef1bd17 100644
--- a/vcl/source/gdi/impimagetree.cxx
+++ b/vcl/source/gdi/impimagetree.cxx
@@ -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 "