diff options
Diffstat (limited to 'embeddedobj/source/msole/closepreventer.cxx')
-rw-r--r-- | embeddedobj/source/msole/closepreventer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embeddedobj/source/msole/closepreventer.cxx b/embeddedobj/source/msole/closepreventer.cxx index a7b845b8c56f..2076e5afaeab 100644 --- a/embeddedobj/source/msole/closepreventer.cxx +++ b/embeddedobj/source/msole/closepreventer.cxx @@ -20,20 +20,20 @@ #include "closepreventer.hxx" void SAL_CALL OClosePreventer::queryClosing( const ::com::sun::star::lang::EventObject&, sal_Bool ) - throw (::com::sun::star::util::CloseVetoException, ::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::util::CloseVetoException, ::com::sun::star::uno::RuntimeException, std::exception) { throw ::com::sun::star::util::CloseVetoException(); } void SAL_CALL OClosePreventer::notifyClosing( const com::sun::star::lang::EventObject& ) - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { // just a disaster OSL_FAIL( "The object can not be prevented from closing!\n" ); } void SAL_CALL OClosePreventer::disposing( const com::sun::star::lang::EventObject& ) - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { // just a disaster OSL_FAIL( "The object can not be prevented from closing!\n" ); |