summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-23 09:57:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-23 11:13:22 +0100
commite89358aeca3dcb224917e30a7bfbc74f9995480a (patch)
treed8e69098880727cf57a6d81967b15c4d6578743f /package
parentAdd --enable-sal-info (diff)
downloadcore-e89358aeca3dcb224917e30a7bfbc74f9995480a.tar.gz
core-e89358aeca3dcb224917e30a7bfbc74f9995480a.zip
coverity#706586 Uncaught exception
Change-Id: I3ec05ae695428f92b7424295b6f2d3e833c6b162
Diffstat (limited to 'package')
-rw-r--r--package/inc/ZipPackageStream.hxx2
-rw-r--r--package/source/zippackage/ZipPackageStream.cxx2
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