diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-16 10:11:04 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-18 10:03:44 +0000 |
commit | 2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae (patch) | |
tree | 66ba7ff0b95cf5ceeda5e53294a71c6786460eb3 /framework/inc/helper | |
parent | 4e59eecc077d27dd9762e7c890b2aaf92a212959 (diff) |
update unusedmethods plugin to deal with constructors
and fix the operator< implementations in some of the other
plugins too.
Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035
Reviewed-on: https://gerrit.libreoffice.org/25057
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'framework/inc/helper')
-rw-r--r-- | framework/inc/helper/mischelper.hxx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/framework/inc/helper/mischelper.hxx b/framework/inc/helper/mischelper.hxx index 6be2306e7fdf..39cae9c6a484 100644 --- a/framework/inc/helper/mischelper.hxx +++ b/framework/inc/helper/mischelper.hxx @@ -234,33 +234,6 @@ class WeakChangesListener : public ::cppu::WeakImplHelper<css::util::XChangesLis } }; -class WeakEventListener : public ::cppu::WeakImplHelper<css::lang::XEventListener> -{ - private: - css::uno::WeakReference<css::lang::XEventListener> mxOwner; - - public: - WeakEventListener(css::uno::Reference<css::lang::XEventListener> xOwner) - : mxOwner(xOwner) - { - } - - virtual ~WeakEventListener() - { - } - - // lang.XEventListener - virtual void SAL_CALL disposing(const css::lang::EventObject& rEvent) - throw(css::uno::RuntimeException, std::exception) override - { - css::uno::Reference<css::lang::XEventListener> xOwner(mxOwner.get(), - css::uno::UNO_QUERY); - if (xOwner.is()) - xOwner->disposing(rEvent); - - } -}; - class WeakDocumentEventListener : public ::cppu::WeakImplHelper<css::document::XDocumentEventListener> { private: |