diff options
author | sb <sb@openoffice.org> | 2010-02-25 16:10:53 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-02-25 16:10:53 +0100 |
commit | d6e31ec5296abe96bdb64b53184db98098f82ceb (patch) | |
tree | 1b41aa9c15d0dfc08931849a06a6d4900e203468 /unotools | |
parent | ba88d908e6b3379510ed98a5472f1998bde47169 (diff) |
sb118: #i109607# do not call back listeners from DesktopTerminationObserver::revokeTerminationListener
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/misc/desktopterminationobserver.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
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(); |