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

coverity#706583 Uncaught exception

Change-Id: I508eb91d7c32e8604525511c33c39471afd3ffbf
üst fe0e3580
......@@ -1378,8 +1378,16 @@ void SAL_CALL ZipPackage::commitChanges()
static_cast < OWeakObject * > ( this ), makeAny ( r ) );
}
// connect to the temporary stream
ConnectTo( xTempInStream );
try
{
// connect to the temporary stream
ConnectTo( xTempInStream );
}
catch( const io::IOException& r )
{
throw WrappedTargetException(THROW_WHERE "Temporary file should be connectable!",
static_cast < OWeakObject * > ( this ), makeAny ( r ) );
}
if ( m_eMode == e_IMode_XStream )
{
......
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