From d6e31ec5296abe96bdb64b53184db98098f82ceb Mon Sep 17 00:00:00 2001 From: sb Date: Thu, 25 Feb 2010 16:10:53 +0100 Subject: sb118: #i109607# do not call back listeners from DesktopTerminationObserver::revokeTerminationListener --- unotools/source/misc/desktopterminationobserver.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'unotools') diff --git a/unotools/source/misc/desktopterminationobserver.cxx b/unotools/source/misc/desktopterminationobserver.cxx index 23d5089f545e..3900449f03c9 100644 --- a/unotools/source/misc/desktopterminationobserver.cxx +++ b/unotools/source/misc/desktopterminationobserver.cxx @@ -211,12 +211,6 @@ namespace utl void DesktopTerminationObserver::revokeTerminationListener( ITerminationListener* _pListener ) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); - if ( getListenerAdminData().bAlreadyTerminated ) - { - _pListener->notifyTermination(); - return; - } - Listeners& rListeners = getListenerAdminData().aListeners; for ( Listeners::iterator lookup = rListeners.begin(); lookup != rListeners.end(); -- cgit