diff options
-rw-r--r-- | sdext/source/presenter/PresenterButton.cxx | 24 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterButton.hxx | 11 |
2 files changed, 0 insertions, 35 deletions
diff --git a/sdext/source/presenter/PresenterButton.cxx b/sdext/source/presenter/PresenterButton.cxx index 961e4ff5b425..9632cb78945b 100644 --- a/sdext/source/presenter/PresenterButton.cxx +++ b/sdext/source/presenter/PresenterButton.cxx @@ -130,7 +130,6 @@ PresenterButton::PresenterButton ( xPeer->setBackground(0xff000000); mxWindow->setVisible(true); - mxWindow->addWindowListener(this); mxWindow->addPaintListener(this); mxWindow->addMouseListener(this); mxWindow->addMouseMotionListener(this); @@ -156,7 +155,6 @@ void SAL_CALL PresenterButton::disposing() if (mxWindow.is()) { - mxWindow->removeWindowListener(this); mxWindow->removePaintListener(this); mxWindow->removeMouseListener(this); mxWindow->removeMouseMotionListener(this); @@ -225,28 +223,6 @@ css::geometry::IntegerSize2D const & PresenterButton::GetSize() return maButtonSize; } -//----- XWindowListener ------------------------------------------------------- - -void SAL_CALL PresenterButton::windowResized (const css::awt::WindowEvent&) -{ - ThrowIfDisposed(); -} - -void SAL_CALL PresenterButton::windowMoved (const css::awt::WindowEvent&) -{ - ThrowIfDisposed(); -} - -void SAL_CALL PresenterButton::windowShown (const css::lang::EventObject&) -{ - ThrowIfDisposed(); -} - -void SAL_CALL PresenterButton::windowHidden (const css::lang::EventObject&) -{ - ThrowIfDisposed(); -} - //----- XPaintListener -------------------------------------------------------- void SAL_CALL PresenterButton::windowPaint (const css::awt::PaintEvent& rEvent) diff --git a/sdext/source/presenter/PresenterButton.hxx b/sdext/source/presenter/PresenterButton.hxx index 18a504c20d59..03ad7cfea363 100644 --- a/sdext/source/presenter/PresenterButton.hxx +++ b/sdext/source/presenter/PresenterButton.hxx @@ -39,7 +39,6 @@ namespace sdext { namespace presenter { class PresenterController; typedef ::cppu::WeakComponentImplHelper < - css::awt::XWindowListener, css::awt::XPaintListener, css::awt::XMouseListener, css::awt::XMouseMotionListener @@ -72,16 +71,6 @@ public: const css::uno::Reference<css::awt::XWindow>& rxParentWindow); css::geometry::IntegerSize2D const & GetSize(); - // XWindowListener - - virtual void SAL_CALL windowResized (const css::awt::WindowEvent& rEvent) override; - - virtual void SAL_CALL windowMoved (const css::awt::WindowEvent& rEvent) override; - - virtual void SAL_CALL windowShown (const css::lang::EventObject& rEvent) override; - - virtual void SAL_CALL windowHidden (const css::lang::EventObject& rEvent) override; - // XPaintListener virtual void SAL_CALL windowPaint (const css::awt::PaintEvent& rEvent) override; |