diff options
Diffstat (limited to 'unotools/source/misc/desktopterminationobserver.cxx')
-rw-r--r-- | unotools/source/misc/desktopterminationobserver.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/unotools/source/misc/desktopterminationobserver.cxx b/unotools/source/misc/desktopterminationobserver.cxx index 4d27a6d49208..be4f1b87bdfc 100644 --- a/unotools/source/misc/desktopterminationobserver.cxx +++ b/unotools/source/misc/desktopterminationobserver.cxx @@ -67,11 +67,11 @@ namespace utl private: // XTerminateListener - virtual void SAL_CALL queryTermination( const EventObject& Event ) throw (TerminationVetoException, RuntimeException, std::exception) override; - virtual void SAL_CALL notifyTermination( const EventObject& Event ) throw (RuntimeException, std::exception) override; + virtual void SAL_CALL queryTermination( const EventObject& Event ) override; + virtual void SAL_CALL notifyTermination( const EventObject& Event ) override; // XEventListener - virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override; }; OObserverImpl::OObserverImpl() @@ -105,7 +105,7 @@ namespace utl } } - void SAL_CALL OObserverImpl::queryTermination( const EventObject& /*Event*/ ) throw (TerminationVetoException, RuntimeException, std::exception) + void SAL_CALL OObserverImpl::queryTermination( const EventObject& /*Event*/ ) { Listeners aToNotify; { @@ -123,7 +123,7 @@ namespace utl } } - void SAL_CALL OObserverImpl::notifyTermination( const EventObject& /*Event*/ ) throw (RuntimeException, std::exception) + void SAL_CALL OObserverImpl::notifyTermination( const EventObject& /*Event*/ ) { // get the listeners Listeners aToNotify; @@ -150,7 +150,7 @@ namespace utl } } - void SAL_CALL OObserverImpl::disposing( const EventObject& /*Event*/ ) throw (RuntimeException, std::exception) + void SAL_CALL OObserverImpl::disposing( const EventObject& /*Event*/ ) { #if OSL_DEBUG_LEVEL > 0 ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); |