diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-23 13:07:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-24 07:59:06 +0200 |
commit | ac45764b05385a51d469fda2e4bf9233904ca5a9 (patch) | |
tree | 94605a61e6933b3e8f1d0073b790645f04a51d5e /svx/source/inc/GraphCtlAccessibleContext.hxx | |
parent | fe22bdc3b537afa8ebcb5cb057542b762c770722 (diff) |
loplugin:finalclasses in svx
Change-Id: I74296e2185902498cd569ecde83905f718a41e84
Reviewed-on: https://gerrit.libreoffice.org/43715
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/inc/GraphCtlAccessibleContext.hxx')
-rw-r--r-- | svx/source/inc/GraphCtlAccessibleContext.hxx | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/svx/source/inc/GraphCtlAccessibleContext.hxx b/svx/source/inc/GraphCtlAccessibleContext.hxx index 1deeeee4c3bf..8e18fb30f47a 100644 --- a/svx/source/inc/GraphCtlAccessibleContext.hxx +++ b/svx/source/inc/GraphCtlAccessibleContext.hxx @@ -76,7 +76,7 @@ typedef ::cppu::WeakAggComponentImplHelper7< css::lang::XServiceName > SvxGraphCtrlAccessibleContext_Base; -class SvxGraphCtrlAccessibleContext: +class SvxGraphCtrlAccessibleContext final : private cppu::BaseMutex, public SvxGraphCtrlAccessibleContext_Base, public SfxListener, public ::accessibility::IAccessibleViewForwarder { @@ -90,9 +90,6 @@ public: void Notify( SfxBroadcaster& aBC, const SfxHint& aHint ) override; -protected: - virtual ~SvxGraphCtrlAccessibleContext() override; -public: // XAccessible /// Return the XAccessibleContext. virtual css::uno::Reference< css::accessibility::XAccessibleContext> SAL_CALL @@ -122,8 +119,6 @@ public: virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet> SAL_CALL getAccessibleRelationSet() override; virtual css::uno::Reference< css::accessibility::XAccessibleStateSet> SAL_CALL getAccessibleStateSet() override; virtual css::lang::Locale SAL_CALL getLocale() override; -// virtual void SAL_CALL addPropertyChangeListener( const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) throw (css::uno::RuntimeException) {} -// virtual void SAL_CALL removePropertyChangeListener( const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) throw (css::uno::RuntimeException) {} // XAccessibleEventBroadcaster virtual void SAL_CALL addAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener>& xListener) override; @@ -154,18 +149,15 @@ public: virtual Point LogicToPixel (const Point& rPoint) const override; virtual Size LogicToPixel (const Size& rSize) const override; -protected: - /// @throws css::lang::IndexOutOfBoundsException - void checkChildIndexOnSelection( long nIndexOfChild ); - -public: - /** This method is used by the graph control to tell the accessibility object about a new model and view. */ void setModelAndView (SdrModel* pModel, SdrView* pView); -protected: +private: + virtual ~SvxGraphCtrlAccessibleContext() override; + /// @throws css::lang::IndexOutOfBoundsException + void checkChildIndexOnSelection( long nIndexOfChild ); /** Return the object's current bounding box relative to the desktop, i.e in absolute pixel coordinates. @@ -185,7 +177,6 @@ protected: virtual void SAL_CALL disposing() final override; -private: /// @throws css::uno::RuntimeException /// @throws css::lang::IndexOutOfBoundsException SdrObject* getSdrObject( sal_Int32 nIndex ); |