coverity#983926 Uncaught exception

Change-Id: I2b0115d59c312bdce7bdd9c8ae133e07dfb9699a
This commit is contained in:
Caolán McNamara
2014-05-24 14:57:16 +01:00
parent e5c863294a
commit 8bafbd2c40
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper6< ::com::sun:
// Creating a SdrObject using it's Description.
// Can be used by derived classes to support their owen Shapes (e.g. Controls).
virtual SdrObject *_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape )
throw (std::exception);
throw (css::uno::Exception, std::exception);
static SvxShape* CreateShapeByTypeAndInventor( sal_uInt16 nType, sal_uInt32 nInventor, SdrObject *pObj = NULL, SvxDrawPage *pPage = NULL, OUString const & referer = OUString() ) throw();

View File

@@ -474,7 +474,7 @@ void SAL_CALL SvxDrawPage::ungroup( const Reference< drawing::XShapeGroup >& aGr
}
SdrObject *SvxDrawPage::_CreateSdrObject(const Reference< drawing::XShape > & xShape)
throw (std::exception)
throw (css::uno::Exception, std::exception)
{
sal_uInt16 nType = 0;
sal_uInt32 nInventor = 0;