coverity#1158271 Uncaught exception
Change-Id: I1a39ed2fb8542cb1bc5a56ce8f78cafe4618aa79
This commit is contained in:
@@ -234,11 +234,18 @@ throw( com::sun::star::uno::RuntimeException )
|
|||||||
if ( xContent.is() )
|
if ( xContent.is() )
|
||||||
{
|
{
|
||||||
ucbhelper::Content aContent( xContent, Reference< ucb::XCommandEnvironment >(), comphelper::getProcessComponentContext() );
|
ucbhelper::Content aContent( xContent, Reference< ucb::XCommandEnvironment >(), comphelper::getProcessComponentContext() );
|
||||||
|
try
|
||||||
|
{
|
||||||
if ( aContent.isFolder() )
|
if ( aContent.isFolder() )
|
||||||
{
|
{
|
||||||
input.reset( new writerperfect::DirectoryStream( xContent ) );
|
input.reset( new writerperfect::DirectoryStream( xContent ) );
|
||||||
bIsPackage = true;
|
bIsPackage = true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
catch (...)
|
||||||
|
{
|
||||||
|
return OUString();
|
||||||
|
}
|
||||||
|
|
||||||
libetonyek::KEYDocumentType type = libetonyek::KEY_DOCUMENT_TYPE_UNKNOWN;
|
libetonyek::KEYDocumentType type = libetonyek::KEY_DOCUMENT_TYPE_UNKNOWN;
|
||||||
if ( !libetonyek::KEYDocument::isSupported( input.get(), &type ) )
|
if ( !libetonyek::KEYDocument::isSupported( input.get(), &type ) )
|
||||||
|
Reference in New Issue
Block a user