coverity#737837 Uncaught exception

Change-Id: Ia71f03515ae209619b73aa617c4649cc4de4dfa6
This commit is contained in:
Caolán McNamara
2014-02-13 16:42:12 +00:00
parent 537deaeac2
commit 70d10669b8
2 changed files with 6 additions and 2 deletions

View File

@@ -3093,7 +3093,9 @@ void SAL_CALL SdMasterPage::add( const Reference< drawing::XShape >& xShape ) th
SdGenericDrawPage::add( xShape ); SdGenericDrawPage::add( xShape );
} }
void SAL_CALL SdMasterPage::remove( const Reference< drawing::XShape >& xShape ) throw(uno::RuntimeException) void SAL_CALL SdMasterPage::remove( const Reference< drawing::XShape >& xShape )
throw (uno::RuntimeException,
std::exception)
{ {
::SolarMutexGuard aGuard; ::SolarMutexGuard aGuard;

View File

@@ -266,7 +266,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);
}; };