diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-23 09:57:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-23 11:13:22 +0100 |
commit | e89358aeca3dcb224917e30a7bfbc74f9995480a (patch) | |
tree | d8e69098880727cf57a6d81967b15c4d6578743f /package | |
parent | Add --enable-sal-info (diff) | |
download | core-e89358aeca3dcb224917e30a7bfbc74f9995480a.tar.gz core-e89358aeca3dcb224917e30a7bfbc74f9995480a.zip |
coverity#706586 Uncaught exception
Change-Id: I3ec05ae695428f92b7424295b6f2d3e833c6b162
Diffstat (limited to 'package')
-rw-r--r-- | package/inc/ZipPackageStream.hxx | 2 | ||||
-rw-r--r-- | package/source/zippackage/ZipPackageStream.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/inc/ZipPackageStream.hxx b/package/inc/ZipPackageStream.hxx index cabc62004d39..d8b686eb6c2a 100644 --- a/package/inc/ZipPackageStream.hxx +++ b/package/inc/ZipPackageStream.hxx @@ -183,7 +183,7 @@ public: ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getPlainRawStream() - throw ( ::com::sun::star::io::IOException, + throw ( ::com::sun::star::io::IOException, ::com::sun::star::packages::NoEncryptionException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XUnoTunnel diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index fee38a645a20..37710c033d30 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -653,7 +653,7 @@ void SAL_CALL ZipPackageStream::setRawStream( const uno::Reference< io::XInputSt } uno::Reference< io::XInputStream > SAL_CALL ZipPackageStream::getPlainRawStream() - throw ( io::IOException, + throw ( io::IOException, packages::NoEncryptionException, uno::RuntimeException, std::exception ) { // There is no stream attached to this object |