coverity#1308587 Uncaught exception

Change-Id: I45e699ebf255e7d933a3b5d77717dcd7583d8383
This commit is contained in:
Caolán McNamara
2015-06-29 12:05:07 +01:00
parent 7e5e4ac54c
commit 10a7c828be
2 changed files with 2 additions and 2 deletions

View File

@@ -229,7 +229,7 @@ void OStorageHelper::SetCommonStorageEncryptionData(
sal_Int32 OStorageHelper::GetXStorageFormat(
const uno::Reference< embed::XStorage >& xStorage )
throw ( uno::Exception )
throw ( uno::Exception, std::exception )
{
uno::Reference< beans::XPropertySet > xStorProps( xStorage, uno::UNO_QUERY_THROW );

View File

@@ -137,7 +137,7 @@ public:
// the following method supports only storages of OOo formats
static sal_Int32 GetXStorageFormat(
const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage )
throw ( ::com::sun::star::uno::Exception );
throw ( ::com::sun::star::uno::Exception, std::exception );
static ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >
GetStorageOfFormatFromURL(