summaryrefslogtreecommitdiff
path: root/framework/inc/helper/mischelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/helper/mischelper.hxx')
-rw-r--r--framework/inc/helper/mischelper.hxx27
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: