coverity#983802 Uncaught exception
Change-Id: I06be01500a767e600a7f391a3e74a92d05b6d73f
This commit is contained in:
parent
31ded17441
commit
94cf259457
@ -35,7 +35,7 @@ protected:
|
||||
// Creating a SdrObject based on a Description. Cann be used by derived classes to
|
||||
// support own ::com::sun::star::drawing::Shapes (for example Controls)
|
||||
virtual SdrObject *_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & xShape )
|
||||
throw (std::exception) SAL_OVERRIDE;
|
||||
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
||||
|
||||
// The following method is called when a SvxShape object should be created.
|
||||
// Derived classes can create a derivation or an object aggregating SvxShape.
|
||||
|
@ -386,7 +386,7 @@ SdXImpressDocument* SdGenericDrawPage::GetModel() const
|
||||
|
||||
// this is called whenever a SdrObject must be created for a empty api shape wrapper
|
||||
SdrObject * SdGenericDrawPage::_CreateSdrObject( const Reference< drawing::XShape >& xShape )
|
||||
throw (std::exception)
|
||||
throw (css::uno::RuntimeException, std::exception)
|
||||
{
|
||||
if( NULL == SvxFmDrawPage::mpPage || !xShape.is() )
|
||||
return NULL;
|
||||
|
@ -105,7 +105,7 @@ public:
|
||||
|
||||
// this is called whenever a SdrObject must be created for a empty api shape wrapper
|
||||
virtual SdrObject *_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape )
|
||||
throw (std::exception) SAL_OVERRIDE;
|
||||
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
||||
|
||||
// SvxFmDrawPage
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > _CreateShape( SdrObject *pObj ) const
|
||||
|
@ -69,7 +69,7 @@ Any SAL_CALL SvxFmDrawPage::queryAggregation( const ::com::sun::star::uno::Type&
|
||||
}
|
||||
|
||||
SdrObject *SvxFmDrawPage::_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & xDescr )
|
||||
throw (std::exception)
|
||||
throw (css::uno::RuntimeException, std::exception)
|
||||
{
|
||||
OUString aShapeType( xDescr->getShapeType() );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user