coverity#706568 Uncaught exception

Change-Id: I05a7700b782d63654406139532a775173295ea9f
This commit is contained in:
Caolán McNamara 2014-10-30 10:00:04 +00:00
parent 6bff65dfa6
commit 2bc6b0d5f0

View File

@ -2174,7 +2174,15 @@ uno::Reference< io::XOutputStream > SAL_CALL OWriteStream::getOutputStream()
{
::osl::MutexGuard aGuard( m_pData->m_rSharedMutexRef->GetMutex() );
try
{
CheckInitOnDemand();
}
catch( const io::IOException& r )
{
throw lang::WrappedTargetRuntimeException("OWriteStream::getOutputStream: Could not create backing temp file",
static_cast < OWeakObject * > ( this ), makeAny ( r ) );
}
if ( !m_pImpl )
{