Kaydet (Commit) 1d200aa1 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#706590 Uncaught exception

Change-Id: I2005b792c74ad5a5f58c831dcc7caa5134280890
üst 0095bccd
......@@ -45,6 +45,7 @@ interface XZipFileAccess: ::com::sun::star::uno::XInterface
::com::sun::star::io::XInputStream getStreamByPattern( [in] string aPattern )
raises( ::com::sun::star::container::NoSuchElementException,
::com::sun::star::io::IOException,
::com::sun::star::packages::WrongPasswordException,
::com::sun::star::packages::zip::ZipException );
};
......
......@@ -82,7 +82,7 @@ public:
virtual sal_Bool SAL_CALL hasElements( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XZipFileAccess
virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getStreamByPattern( const OUString& aPattern ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, css::packages::zip::ZipException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getStreamByPattern( const OUString& aPattern ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, css::packages::WrongPasswordException, css::packages::zip::ZipException, std::exception) SAL_OVERRIDE;
// XComponent
virtual void SAL_CALL dispose( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
......
......@@ -358,7 +358,7 @@ sal_Bool SAL_CALL OZipFileAccess::hasElements()
// XZipFileAccess
uno::Reference< io::XInputStream > SAL_CALL OZipFileAccess::getStreamByPattern( const OUString& aPatternString )
throw ( container::NoSuchElementException,
io::IOException, packages::zip::ZipException,
io::IOException, packages::WrongPasswordException, packages::zip::ZipException,
uno::RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutexHolder->GetMutex() );
......
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