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

coverity#707130 Uncaught exception

Change-Id: I76bbe1adb60e7662b4da1effc57feb54ad8733bd
üst de61e730
......@@ -75,9 +75,15 @@ OUString SAL_CALL SdFilterDetect::detect( Sequence< beans::PropertyValue >& lDes
if ( pInStrm->remainingSize() == 0 )
return OUString();
SotStorageRef aStorage = new SotStorage( pInStrm, false );
if ( !aStorage->GetError() && aStorage->IsStream( "PowerPoint Document" ) )
return aTypeName;
try
{
SotStorageRef aStorage = new SotStorage( pInStrm, false );
if ( !aStorage->GetError() && aStorage->IsStream( "PowerPoint Document" ) )
return aTypeName;
}
catch (const css::ucb::ContentCreationException&)
{
}
}
else
{
......
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