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

coverity#1158271 Uncaught exception

Change-Id: I1a39ed2fb8542cb1bc5a56ce8f78cafe4618aa79
üst 2dfb8341
......@@ -234,10 +234,17 @@ throw( com::sun::star::uno::RuntimeException )
if ( xContent.is() )
{
ucbhelper::Content aContent( xContent, Reference< ucb::XCommandEnvironment >(), comphelper::getProcessComponentContext() );
if ( aContent.isFolder() )
try
{
input.reset( new writerperfect::DirectoryStream( xContent ) );
bIsPackage = true;
if ( aContent.isFolder() )
{
input.reset( new writerperfect::DirectoryStream( xContent ) );
bIsPackage = true;
}
}
catch (...)
{
return OUString();
}
libetonyek::KEYDocumentType type = libetonyek::KEY_DOCUMENT_TYPE_UNKNOWN;
......
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