coverity#706568 Uncaught exception
Change-Id: I05a7700b782d63654406139532a775173295ea9f
This commit is contained in:
parent
6bff65dfa6
commit
2bc6b0d5f0
@ -2174,7 +2174,15 @@ uno::Reference< io::XOutputStream > SAL_CALL OWriteStream::getOutputStream()
|
||||
{
|
||||
::osl::MutexGuard aGuard( m_pData->m_rSharedMutexRef->GetMutex() );
|
||||
|
||||
CheckInitOnDemand();
|
||||
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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user