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

coverity#706586 Uncaught exception

Change-Id: I3ec05ae695428f92b7424295b6f2d3e833c6b162
üst 6addde24
...@@ -121,11 +121,15 @@ interface XDataSinkEncrSupport: com::sun::star::uno::XInterface ...@@ -121,11 +121,15 @@ interface XDataSinkEncrSupport: com::sun::star::uno::XInterface
@returns @returns
the plain raw stream as it is stored in the package the plain raw stream as it is stored in the package
@throws ::com::sun::star::packages::NoEncryptionException
the PackageStream object is not encrypted
@throws ::com::sun::star::io::IOException @throws ::com::sun::star::io::IOException
in case of io problems during retrieving in case of io problems during retrieving
*/ */
::com::sun::star::io::XInputStream getPlainRawStream() ::com::sun::star::io::XInputStream getPlainRawStream()
raises( ::com::sun::star::io::IOException ); raises( ::com::sun::star::io::IOException,
::com::sun::star::packages::NoEncryptionException );
}; };
......
...@@ -183,7 +183,7 @@ public: ...@@ -183,7 +183,7 @@ public:
::com::sun::star::io::IOException, ::com::sun::star::io::IOException,
::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getPlainRawStream() 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; ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
// XUnoTunnel // XUnoTunnel
......
...@@ -653,7 +653,7 @@ void SAL_CALL ZipPackageStream::setRawStream( const uno::Reference< io::XInputSt ...@@ -653,7 +653,7 @@ void SAL_CALL ZipPackageStream::setRawStream( const uno::Reference< io::XInputSt
} }
uno::Reference< io::XInputStream > SAL_CALL ZipPackageStream::getPlainRawStream() uno::Reference< io::XInputStream > SAL_CALL ZipPackageStream::getPlainRawStream()
throw ( io::IOException, throw ( io::IOException, packages::NoEncryptionException,
uno::RuntimeException, std::exception ) uno::RuntimeException, std::exception )
{ {
// There is no stream attached to this object // There is no stream attached to this object
......
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