coverity#706594 Uncaught exception

Change-Id: Iad8f124706789299f36127f0d0fd0a47db07bace
This commit is contained in:
Caolán McNamara
2014-07-26 21:23:08 +01:00
parent 6b5fb7ef6a
commit 5b40565e6a

View File

@@ -252,7 +252,19 @@ uno::Any SAL_CALL OZipFileAccess::getByName( const OUString& aName )
false, false,
m_aMutexHolder); m_aMutexHolder);
} }
catch (const io::IOException& e) catch (const container::NoSuchElementException&)
{
throw;
}
catch (const lang::WrappedTargetException&)
{
throw;
}
catch (const uno::RuntimeException&)
{
throw;
}
catch (const uno::Exception& e)
{ {
throw lang::WrappedTargetException( "This package is unusable!", throw lang::WrappedTargetException( "This package is unusable!",
static_cast < OWeakObject * > ( this ), static_cast < OWeakObject * > ( this ),