diff options
Diffstat (limited to 'sfx2/source/doc/objserv.cxx')
-rw-r--r-- | sfx2/source/doc/objserv.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index 902a2b0038b5..2e50c0a731e5 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -136,12 +136,11 @@ public: void SetPreventClose( bool bPrevent ) { m_bPreventClose = bPrevent; } - virtual void SAL_CALL queryClosing( const lang::EventObject& aEvent, sal_Bool bDeliverOwnership ) - throw ( uno::RuntimeException, util::CloseVetoException, std::exception ) override; + virtual void SAL_CALL queryClosing( const lang::EventObject& aEvent, sal_Bool bDeliverOwnership ) override; - virtual void SAL_CALL notifyClosing( const lang::EventObject& aEvent ) throw ( uno::RuntimeException, std::exception ) override ; + virtual void SAL_CALL notifyClosing( const lang::EventObject& aEvent ) override ; - virtual void SAL_CALL disposing( const lang::EventObject& aEvent ) throw ( uno::RuntimeException, std::exception ) override ; + virtual void SAL_CALL disposing( const lang::EventObject& aEvent ) override ; } ; @@ -152,7 +151,6 @@ SfxClosePreventer_Impl::SfxClosePreventer_Impl() } void SAL_CALL SfxClosePreventer_Impl::queryClosing( const lang::EventObject&, sal_Bool bDeliverOwnership ) - throw ( uno::RuntimeException, util::CloseVetoException, std::exception ) { if ( m_bPreventClose ) { @@ -163,10 +161,10 @@ void SAL_CALL SfxClosePreventer_Impl::queryClosing( const lang::EventObject&, sa } } -void SAL_CALL SfxClosePreventer_Impl::notifyClosing( const lang::EventObject& ) throw ( uno::RuntimeException, std::exception ) +void SAL_CALL SfxClosePreventer_Impl::notifyClosing( const lang::EventObject& ) {} -void SAL_CALL SfxClosePreventer_Impl::disposing( const lang::EventObject& ) throw ( uno::RuntimeException, std::exception ) +void SAL_CALL SfxClosePreventer_Impl::disposing( const lang::EventObject& ) {} |