diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-02-27 11:23:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-27 11:23:51 +0000 |
commit | 2b179ca1744d12630488619f948e5eb860e1fb41 (patch) | |
tree | ea71499aee7ec222439a731578cd409c1efda571 /svl/source | |
parent | c58882fda80b63baac3360001b0fdf251d96e0eb (diff) |
Removed unused code
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/notify/broadcast.cxx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/svl/source/notify/broadcast.cxx b/svl/source/notify/broadcast.cxx index ac58097c76a3..350cfcd268c5 100644 --- a/svl/source/notify/broadcast.cxx +++ b/svl/source/notify/broadcast.cxx @@ -113,32 +113,4 @@ void SvtBroadcaster::ListenersGone() { } -//-------------------------------------------------------------------- - -// forward a notification to all registered listeners - -void SvtBroadcaster::Forward( SvtBroadcaster& rBC, const SfxHint& rHint ) -{ - // is anybody to notify? - if( rBC.HasListeners() /* && !IsModifyLocked()*/ ) - { -// LockModify(); -// bInModify = sal_True; - - SvtListenerIter aIter( rBC ); - SvtListener* pLast = aIter.GoStart(); - if( pLast ) - do { - pLast->Notify( rBC, rHint ); - if( !rBC.HasListeners() ) // all gone ?? - break; - } while( 0 != ( pLast = aIter.GoNext() )); - -// bInModify = sal_False; -// UnlockModify(); - } -} - - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |