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

coverity#707241 Uncaught exception

Change-Id: Ia82b685a892c376dbdf5a5b7a8e559bf318b9134
üst 64da31ab
...@@ -94,7 +94,7 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper6< ::com::sun: ...@@ -94,7 +94,7 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper6< ::com::sun:
// Creating a SdrObject using it's Description. // Creating a SdrObject using it's Description.
// Can be used by derived classes to support their owen Shapes (e.g. Controls). // 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 ) virtual SdrObject *_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape )
throw (css::uno::Exception, std::exception); throw (css::uno::RuntimeException, std::exception);
static SvxShape* CreateShapeByTypeAndInventor( sal_uInt16 nType, sal_uInt32 nInventor, SdrObject *pObj = NULL, SvxDrawPage *pPage = NULL, OUString const & referer = OUString() ) throw(); static SvxShape* CreateShapeByTypeAndInventor( sal_uInt16 nType, sal_uInt32 nInventor, SdrObject *pObj = NULL, SvxDrawPage *pPage = NULL, OUString const & referer = OUString() ) throw();
......
...@@ -474,7 +474,7 @@ void SAL_CALL SvxDrawPage::ungroup( const Reference< drawing::XShapeGroup >& aGr ...@@ -474,7 +474,7 @@ void SAL_CALL SvxDrawPage::ungroup( const Reference< drawing::XShapeGroup >& aGr
} }
SdrObject *SvxDrawPage::_CreateSdrObject(const Reference< drawing::XShape > & xShape) SdrObject *SvxDrawPage::_CreateSdrObject(const Reference< drawing::XShape > & xShape)
throw (css::uno::Exception, std::exception) throw (css::uno::RuntimeException, std::exception)
{ {
sal_uInt16 nType = 0; sal_uInt16 nType = 0;
sal_uInt32 nInventor = 0; sal_uInt32 nInventor = 0;
......
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