diff options
Diffstat (limited to 'sdext/source/presenter/PresenterToolBar.hxx')
-rw-r--r-- | sdext/source/presenter/PresenterToolBar.hxx | 63 |
1 files changed, 21 insertions, 42 deletions
diff --git a/sdext/source/presenter/PresenterToolBar.hxx b/sdext/source/presenter/PresenterToolBar.hxx index b4b83b8dd765..3bd2cbcac39c 100644 --- a/sdext/source/presenter/PresenterToolBar.hxx +++ b/sdext/source/presenter/PresenterToolBar.hxx @@ -103,58 +103,44 @@ public: // lang::XEventListener virtual void SAL_CALL - disposing (const css::lang::EventObject& rEventObject) - throw (css::uno::RuntimeException, std::exception) override; + disposing (const css::lang::EventObject& rEventObject) override; // XWindowListener - virtual void SAL_CALL windowResized (const css::awt::WindowEvent& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL windowResized (const css::awt::WindowEvent& rEvent) override; - virtual void SAL_CALL windowMoved (const css::awt::WindowEvent& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL windowMoved (const css::awt::WindowEvent& rEvent) override; - virtual void SAL_CALL windowShown (const css::lang::EventObject& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL windowShown (const css::lang::EventObject& rEvent) override; - virtual void SAL_CALL windowHidden (const css::lang::EventObject& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL windowHidden (const css::lang::EventObject& rEvent) override; // XPaintListener - virtual void SAL_CALL windowPaint (const css::awt::PaintEvent& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL windowPaint (const css::awt::PaintEvent& rEvent) override; // XMouseListener - virtual void SAL_CALL mousePressed (const css::awt::MouseEvent& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL mousePressed (const css::awt::MouseEvent& rEvent) override; - virtual void SAL_CALL mouseReleased (const css::awt::MouseEvent& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL mouseReleased (const css::awt::MouseEvent& rEvent) override; - virtual void SAL_CALL mouseEntered (const css::awt::MouseEvent& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL mouseEntered (const css::awt::MouseEvent& rEvent) override; - virtual void SAL_CALL mouseExited (const css::awt::MouseEvent& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL mouseExited (const css::awt::MouseEvent& rEvent) override; // XMouseMotionListener - virtual void SAL_CALL mouseMoved (const css::awt::MouseEvent& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL mouseMoved (const css::awt::MouseEvent& rEvent) override; - virtual void SAL_CALL mouseDragged (const css::awt::MouseEvent& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL mouseDragged (const css::awt::MouseEvent& rEvent) override; // XDrawView virtual void SAL_CALL setCurrentPage ( - const css::uno::Reference<css::drawing::XDrawPage>& rxSlide) - throw (css::uno::RuntimeException, std::exception) override; + const css::uno::Reference<css::drawing::XDrawPage>& rxSlide) override; - virtual css::uno::Reference<css::drawing::XDrawPage> SAL_CALL getCurrentPage() - throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Reference<css::drawing::XDrawPage> SAL_CALL getCurrentPage() override; class Context; @@ -210,8 +196,7 @@ private: /** @throws css::lang::DisposedException when the object has already been disposed. */ - void ThrowIfDisposed() const - throw (css::lang::DisposedException); + void ThrowIfDisposed() const; }; /** View for the PresenterToolBar. @@ -236,31 +221,25 @@ public: // XPaintListener - virtual void SAL_CALL windowPaint (const css::awt::PaintEvent& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL windowPaint (const css::awt::PaintEvent& rEvent) override; // lang::XEventListener virtual void SAL_CALL - disposing (const css::lang::EventObject& rEventObject) - throw (css::uno::RuntimeException, std::exception) override; + disposing (const css::lang::EventObject& rEventObject) override; // XResourceId - virtual css::uno::Reference<css::drawing::framework::XResourceId> SAL_CALL getResourceId() - throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Reference<css::drawing::framework::XResourceId> SAL_CALL getResourceId() override; - virtual sal_Bool SAL_CALL isAnchorOnly() - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL isAnchorOnly() override; // XDrawView virtual void SAL_CALL setCurrentPage ( - const css::uno::Reference<css::drawing::XDrawPage>& rxSlide) - throw (css::uno::RuntimeException, std::exception) override; + const css::uno::Reference<css::drawing::XDrawPage>& rxSlide) override; - virtual css::uno::Reference<css::drawing::XDrawPage> SAL_CALL getCurrentPage() - throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Reference<css::drawing::XDrawPage> SAL_CALL getCurrentPage() override; private: // css::uno::Reference<css::uno::XComponentContext> mxComponentContext; |