diff options
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/notify/broadcast.cxx | 8 | ||||
-rw-r--r-- | svl/source/notify/listener.cxx | 18 |
2 files changed, 0 insertions, 26 deletions
diff --git a/svl/source/notify/broadcast.cxx b/svl/source/notify/broadcast.cxx index 54373115c9db..042d1dacaae3 100644 --- a/svl/source/notify/broadcast.cxx +++ b/svl/source/notify/broadcast.cxx @@ -177,14 +177,6 @@ void SvtBroadcaster::Remove( SvtListener* p ) ListenersGone(); } -SvtBroadcaster::SvtBroadcaster() - : mnEmptySlots(0) - , mnListenersFirstUnsorted(0) - , mbAboutToDie(false) - , mbDisposing(false) - , mbDestNormalized(true) -{} - SvtBroadcaster::SvtBroadcaster( const SvtBroadcaster &rBC ) : mnEmptySlots(0), mnListenersFirstUnsorted(0), mbAboutToDie(false), mbDisposing(false), diff --git a/svl/source/notify/listener.cxx b/svl/source/notify/listener.cxx index 172dbdb8b31d..6b1be0ca20b4 100644 --- a/svl/source/notify/listener.cxx +++ b/svl/source/notify/listener.cxx @@ -20,18 +20,6 @@ #include <svl/listener.hxx> #include <svl/broadcast.hxx> -SvtListener::QueryBase::QueryBase( sal_uInt16 nId ) : mnId(nId) {} -SvtListener::QueryBase::~QueryBase() {} - -sal_uInt16 SvtListener::QueryBase::getId() const -{ - return mnId; -} - -SvtListener::SvtListener() {} - -SvtListener::SvtListener( const SvtListener & ) {} - SvtListener::~SvtListener() COVERITY_NOEXCEPT_FALSE { // Unregister itself from all broadcasters it's listening to. @@ -94,14 +82,8 @@ void SvtListener::CopyAllBroadcasters( const SvtListener& r ) } } -bool SvtListener::HasBroadcaster() const -{ - return !maBroadcasters.empty(); -} - void SvtListener::Notify( const SfxHint& /*rHint*/ ) {} void SvtListener::Query( QueryBase& /*rQuery*/ ) const {} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |