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

coverity#707138 Uncaught exception

Change-Id: Ifd9a8ea49b48e81cdff859d2659fbd4d828afa90
üst 4598bbe4
...@@ -1338,8 +1338,8 @@ void SAL_CALL SdGenericDrawPage::firePropertiesChangeEvent( const Sequence< OUSt ...@@ -1338,8 +1338,8 @@ void SAL_CALL SdGenericDrawPage::firePropertiesChangeEvent( const Sequence< OUSt
{ {
} }
Reference< drawing::XShape > SdGenericDrawPage::_CreateShape( SdrObject *pObj ) const Reference< drawing::XShape > SdGenericDrawPage::_CreateShape(SdrObject *pObj) const
throw (std::exception) throw (RuntimeException, std::exception)
{ {
DBG_ASSERT( GetPage(), "SdGenericDrawPage::_CreateShape(), can't create shape for disposed page!" ); DBG_ASSERT( GetPage(), "SdGenericDrawPage::_CreateShape(), can't create shape for disposed page!" );
DBG_ASSERT( pObj, "SdGenericDrawPage::_CreateShape(), invalid call with pObj == 0!" ); DBG_ASSERT( pObj, "SdGenericDrawPage::_CreateShape(), invalid call with pObj == 0!" );
......
...@@ -108,8 +108,8 @@ public: ...@@ -108,8 +108,8 @@ public:
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// SvxFmDrawPage // SvxFmDrawPage
virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > _CreateShape( SdrObject *pObj ) const virtual css::uno::Reference<css::drawing::XShape> _CreateShape(SdrObject *pObj) const
throw (std::exception) SAL_OVERRIDE; throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XInterface // XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
......
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