summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-06-12 09:31:50 +0200
committerNoel Grandin <noel@peralex.com>2013-06-12 10:45:54 +0200
commita591811d0883ffaf316209c86fe5a798532e25f6 (patch)
tree985dcb95433e487a6f93a1f78f148cf7b5808b7c /vcl/source
parent2d64de59c2109e378e4d38d6cad2510226c05435 (diff)
Fix exception specification for ZipFileAccess::createWithURL
Broken during my conversion to new-style UNO in commit 28e3aff576f06b0b02c7232da5d723e865b3c7ed. Also revert mmeeks workaround in commit c0b78901dba033ed112a023a787575ae54ef877d. Change-Id: I1f711bbe19556f1bde7699295ca4f56cff54ddb9
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/gdi/impimagetree.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/gdi/impimagetree.cxx b/vcl/source/gdi/impimagetree.cxx
index 426738bef45e..1ab5e23bf911 100644
--- a/vcl/source/gdi/impimagetree.cxx
+++ b/vcl/source/gdi/impimagetree.cxx
@@ -301,6 +301,8 @@ bool ImplImageTree::find(
if (!m_path.second.is()) {
try {
m_path.second = css::packages::zip::ZipFileAccess::createWithURL(comphelper::getProcessComponentContext(), m_path.first + ".zip");
+ } catch (const css::uno::RuntimeException &) {
+ throw;
} catch (const css::uno::Exception & e) {
SAL_INFO("vcl", "ImplImageTree::find exception "
<< e.Message << " for " << m_path.first);
@@ -341,6 +343,8 @@ void ImplImageTree::loadImageLinks()
try
{
m_path.second = css::packages::zip::ZipFileAccess::createWithURL(comphelper::getProcessComponentContext(), m_path.first + ".zip");
+ } catch (const css::uno::RuntimeException &) {
+ throw;
}
catch (const css::uno::Exception & e)
{