diff options
author | Santiago Martinez <smvarela@gmail.com> | 2012-04-24 08:52:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-24 08:54:33 +0100 |
commit | 78aa62bc54e67b4552c18ae67be9789be5ef2409 (patch) | |
tree | 834cc96615a3de75a619fb21e0e1c9aa9609c699 /sw | |
parent | 1f9b45377039f5839f8ee4dde265a297ec146062 (diff) |
Remove unused code in sw
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/dbui/maildispatcher.cxx | 8 | ||||
-rw-r--r-- | sw/source/ui/inc/maildispatcher.hxx | 5 |
2 files changed, 0 insertions, 13 deletions
diff --git a/sw/source/ui/dbui/maildispatcher.cxx b/sw/source/ui/dbui/maildispatcher.cxx index 5e0f9e513957..3eb663252889 100644 --- a/sw/source/ui/dbui/maildispatcher.cxx +++ b/sw/source/ui/dbui/maildispatcher.cxx @@ -208,14 +208,6 @@ void MailDispatcher::addListener(::rtl::Reference<IMailDispatcherListener> liste listeners_.push_back(listener); } -void MailDispatcher::removeListener(::rtl::Reference<IMailDispatcherListener> listener) -{ - OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already"); - - ::osl::MutexGuard guard(listener_container_mutex_); - listeners_.remove(listener); -} - std::list< ::rtl::Reference<IMailDispatcherListener> > MailDispatcher::cloneListener() { ::osl::MutexGuard guard(listener_container_mutex_); diff --git a/sw/source/ui/inc/maildispatcher.hxx b/sw/source/ui/inc/maildispatcher.hxx index ad5521d3814a..d11d58f98d4c 100644 --- a/sw/source/ui/inc/maildispatcher.hxx +++ b/sw/source/ui/inc/maildispatcher.hxx @@ -136,11 +136,6 @@ public: */ void addListener(::rtl::Reference<IMailDispatcherListener> listener); - /** - Unregister a listener for mail dispatcher events - */ - void removeListener(::rtl::Reference<IMailDispatcherListener> listener); - protected: virtual void SAL_CALL run(); virtual void SAL_CALL onTerminated(); |