diff options
Diffstat (limited to 'svl/source/notify/broadcast.cxx')
-rw-r--r-- | svl/source/notify/broadcast.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/svl/source/notify/broadcast.cxx b/svl/source/notify/broadcast.cxx index 16220033dbf8..2351afc0e539 100644 --- a/svl/source/notify/broadcast.cxx +++ b/svl/source/notify/broadcast.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -77,7 +77,7 @@ SvtBroadcaster::~SvtBroadcaster() if( pLast ) do { pLast->EndListening( *this ); - if( !HasListeners() ) // all gone ?? + if( !HasListeners() ) // all gone ?? break; } while( 0 != ( pLast = aIter.GoNext() )); } @@ -91,20 +91,20 @@ void SvtBroadcaster::Broadcast( const SfxHint &rHint ) // is anybody to notify? if( HasListeners() /* && !IsModifyLocked()*/ ) { -// LockModify(); -// bInModify = TRUE; +// LockModify(); +// bInModify = TRUE; SvtListenerIter aIter( *this ); SvtListener* pLast = aIter.GoStart(); if( pLast ) do { pLast->Notify( *this, rHint ); - if( !HasListeners() ) // all gone ?? + if( !HasListeners() ) // all gone ?? break; } while( 0 != ( pLast = aIter.GoNext() )); -// bInModify = FALSE; -// UnlockModify(); +// bInModify = FALSE; +// UnlockModify(); } } @@ -126,20 +126,20 @@ void SvtBroadcaster::Forward( SvtBroadcaster& rBC, const SfxHint& rHint ) // is anybody to notify? if( rBC.HasListeners() /* && !IsModifyLocked()*/ ) { -// LockModify(); -// bInModify = TRUE; +// LockModify(); +// bInModify = TRUE; SvtListenerIter aIter( rBC ); SvtListener* pLast = aIter.GoStart(); if( pLast ) do { pLast->Notify( rBC, rHint ); - if( !rBC.HasListeners() ) // all gone ?? + if( !rBC.HasListeners() ) // all gone ?? break; } while( 0 != ( pLast = aIter.GoNext() )); -// bInModify = FALSE; -// UnlockModify(); +// bInModify = FALSE; +// UnlockModify(); } } |