diff options
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/notify/broadcast.cxx | 2 | ||||
-rw-r--r-- | svl/source/notify/listener.cxx | 10 |
2 files changed, 2 insertions, 10 deletions
diff --git a/svl/source/notify/broadcast.cxx b/svl/source/notify/broadcast.cxx index 19abe3878684..753cbc8a14ef 100644 --- a/svl/source/notify/broadcast.cxx +++ b/svl/source/notify/broadcast.cxx @@ -132,7 +132,7 @@ void SvtBroadcaster::Broadcast( const SfxHint &rHint ) ++dest; if (dest == maDestructedListeners.end() || *dest != *it) - (*it)->Notify(*this, rHint); + (*it)->Notify(rHint); } } diff --git a/svl/source/notify/listener.cxx b/svl/source/notify/listener.cxx index 59d3ef9f3352..66207bf4c0bc 100644 --- a/svl/source/notify/listener.cxx +++ b/svl/source/notify/listener.cxx @@ -80,15 +80,7 @@ bool SvtListener::HasBroadcaster() const return !maBroadcasters.empty(); } -void SvtListener::Notify( SvtBroadcaster& -#ifdef DBG_UTIL -rBC -#endif -, const SfxHint& ) -{ - DBG_ASSERT( IsListening( rBC ), - "notification from unregistered broadcaster" ); -} +void SvtListener::Notify( const SfxHint& ) {} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |