diff options
Diffstat (limited to 'unotools/source/misc/desktopterminationobserver.cxx')
-rw-r--r-- | unotools/source/misc/desktopterminationobserver.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/unotools/source/misc/desktopterminationobserver.cxx b/unotools/source/misc/desktopterminationobserver.cxx index 1aa7b32c0aca..55901ebc310f 100644 --- a/unotools/source/misc/desktopterminationobserver.cxx +++ b/unotools/source/misc/desktopterminationobserver.cxx @@ -77,17 +77,17 @@ namespace utl virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException); }; - //-------------------------------------------------------------------- + OObserverImpl::OObserverImpl() { } - //-------------------------------------------------------------------- + OObserverImpl::~OObserverImpl() { } - //-------------------------------------------------------------------- + void OObserverImpl::ensureObservation() { { @@ -111,7 +111,7 @@ namespace utl } } - //-------------------------------------------------------------------- + void SAL_CALL OObserverImpl::queryTermination( const EventObject& /*Event*/ ) throw (TerminationVetoException, RuntimeException) { Listeners aToNotify; @@ -130,7 +130,7 @@ namespace utl } } - //-------------------------------------------------------------------- + void SAL_CALL OObserverImpl::notifyTermination( const EventObject& /*Event*/ ) throw (RuntimeException) { // get the listeners @@ -158,7 +158,7 @@ namespace utl } } - //-------------------------------------------------------------------- + void SAL_CALL OObserverImpl::disposing( const EventObject& /*Event*/ ) throw (RuntimeException) { #if OSL_DEBUG_LEVEL > 0 @@ -172,7 +172,7 @@ namespace utl //==================================================================== //= DesktopTerminationObserver //==================================================================== - //-------------------------------------------------------------------- + void DesktopTerminationObserver::registerTerminationListener( ITerminationListener* _pListener ) { if ( !_pListener ) @@ -192,7 +192,7 @@ namespace utl OObserverImpl::ensureObservation(); } - //-------------------------------------------------------------------- + void DesktopTerminationObserver::revokeTerminationListener( ITerminationListener* _pListener ) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); |