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

coverity#1308587 Uncaught exception

Change-Id: I45e699ebf255e7d933a3b5d77717dcd7583d8383
üst 7e5e4ac5
......@@ -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 );
......
......@@ -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(
......
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