coverity#1308587 Uncaught exception
Change-Id: I45e699ebf255e7d933a3b5d77717dcd7583d8383
This commit is contained in:
@@ -229,7 +229,7 @@ void OStorageHelper::SetCommonStorageEncryptionData(
|
|||||||
|
|
||||||
sal_Int32 OStorageHelper::GetXStorageFormat(
|
sal_Int32 OStorageHelper::GetXStorageFormat(
|
||||||
const uno::Reference< embed::XStorage >& xStorage )
|
const uno::Reference< embed::XStorage >& xStorage )
|
||||||
throw ( uno::Exception )
|
throw ( uno::Exception, std::exception )
|
||||||
{
|
{
|
||||||
uno::Reference< beans::XPropertySet > xStorProps( xStorage, uno::UNO_QUERY_THROW );
|
uno::Reference< beans::XPropertySet > xStorProps( xStorage, uno::UNO_QUERY_THROW );
|
||||||
|
|
||||||
|
@@ -137,7 +137,7 @@ public:
|
|||||||
// the following method supports only storages of OOo formats
|
// the following method supports only storages of OOo formats
|
||||||
static sal_Int32 GetXStorageFormat(
|
static sal_Int32 GetXStorageFormat(
|
||||||
const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage )
|
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 >
|
static ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >
|
||||||
GetStorageOfFormatFromURL(
|
GetStorageOfFormatFromURL(
|
||||||
|
Reference in New Issue
Block a user