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 | |
parent | c58882fda80b63baac3360001b0fdf251d96e0eb (diff) |
Removed unused code
Diffstat (limited to 'svl')
-rw-r--r-- | svl/inc/svl/broadcast.hxx | 2 | ||||
-rw-r--r-- | svl/source/notify/broadcast.cxx | 28 |
2 files changed, 0 insertions, 30 deletions
diff --git a/svl/inc/svl/broadcast.hxx b/svl/inc/svl/broadcast.hxx index 1e4be881d271..789d66dfdbe6 100644 --- a/svl/inc/svl/broadcast.hxx +++ b/svl/inc/svl/broadcast.hxx @@ -47,8 +47,6 @@ friend class SvtListenerIter; const SvtBroadcaster& operator=(const SvtBroadcaster &); // verboten protected: - void Forward( SvtBroadcaster& rBC, - const SfxHint& rHint ); virtual void ListenersGone(); public: 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: */ |