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

coverity#737836 Uncaught exception

Change-Id: I533cccc1dab5e8d722209c37f0c05331d5c206a8
üst ec8fc9c7
...@@ -2448,7 +2448,9 @@ void SAL_CALL SdDrawPage::add( const Reference< drawing::XShape >& xShape ) thro ...@@ -2448,7 +2448,9 @@ void SAL_CALL SdDrawPage::add( const Reference< drawing::XShape >& xShape ) thro
SdGenericDrawPage::add( xShape ); SdGenericDrawPage::add( xShape );
} }
void SAL_CALL SdDrawPage::remove( const Reference< drawing::XShape >& xShape ) throw(uno::RuntimeException) void SAL_CALL SdDrawPage::remove( const Reference< drawing::XShape >& xShape )
throw (uno::RuntimeException,
std::exception)
{ {
::SolarMutexGuard aGuard; ::SolarMutexGuard aGuard;
......
...@@ -211,7 +211,9 @@ public: ...@@ -211,7 +211,9 @@ public:
// XShapes // XShapes
virtual void SAL_CALL add( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL add( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape ) throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL remove( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL remove( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape )
throw (::com::sun::star::uno::RuntimeException,
std::exception);
}; };
/*********************************************************************** /***********************************************************************
......
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