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

coverity#707430 Uncaught exception

Change-Id: I56269273b20ac48fca5a2abeb2ba2cbf7d1da0c8
üst 630d4812
......@@ -2890,7 +2890,8 @@ uno::Reference< io::XOutputStream > Content::getTruncatedOutputStream(
uno::Reference< io::XStream > Content::getStream(
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
throw ( ucb::CommandFailedException,
task::DocumentPasswordRequest )
task::DocumentPasswordRequest,
uno::RuntimeException )
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
......
......@@ -238,8 +238,9 @@ private:
::com::sun::star::uno::Reference< ::com::sun::star::io::XStream >
getStream( const ::com::sun::star::uno::Reference<
::com::sun::star::ucb::XCommandEnvironment > & xEnv )
throw ( ::com::sun::star::ucb::CommandFailedException,
::com::sun::star::task::DocumentPasswordRequest );
throw ( css::ucb::CommandFailedException,
css::task::DocumentPasswordRequest,
css::uno::RuntimeException );
public:
// Create existing content. Fail, if not already exists.
......
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