diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-07 15:29:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-10 07:45:39 +0100 |
commit | 19ee7861938b59085a50699a51e2f149e49a24e4 (patch) | |
tree | 7d784dd4a3e10da8846313ca6a54ee0b2292e759 /accessibility/inc/extended/accessiblelistboxentry.hxx | |
parent | 049e026755f7c36c7594bf4e7891603930669a54 (diff) |
loplugin:finalclasses in accessibility
Change-Id: I9d8bc018dfe8bd8668d28daccd85ea5770fe31b0
Reviewed-on: https://gerrit.libreoffice.org/44537
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/inc/extended/accessiblelistboxentry.hxx')
-rw-r--r-- | accessibility/inc/extended/accessiblelistboxentry.hxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/accessibility/inc/extended/accessiblelistboxentry.hxx b/accessibility/inc/extended/accessiblelistboxentry.hxx index 2ab3134c0487..d4e85a755457 100644 --- a/accessibility/inc/extended/accessiblelistboxentry.hxx +++ b/accessibility/inc/extended/accessiblelistboxentry.hxx @@ -68,10 +68,10 @@ namespace accessibility , css::lang::XServiceInfo > AccessibleListBoxEntry_BASE; /** the class AccessibleListBoxEntry represents the class for an accessible object of a listbox entry */ - class AccessibleListBoxEntry:public ::cppu::BaseMutex - ,public AccessibleListBoxEntry_BASE - ,public ::comphelper::OCommonAccessibleText - ,public ListBoxAccessibleBase + class AccessibleListBoxEntry final : public ::cppu::BaseMutex + ,public AccessibleListBoxEntry_BASE + ,public ::comphelper::OCommonAccessibleText + ,public ListBoxAccessibleBase { friend class AccessibleListBox; @@ -81,14 +81,12 @@ namespace accessibility SvTreeListEntry* m_pSvLBoxEntry; // Needed for a11y focused item... - protected: /// client id in the AccessibleEventNotifier queue sal_uInt32 m_nClientId; css::uno::WeakReference< css::accessibility::XAccessible > m_aParent; - private: tools::Rectangle GetBoundingBox_Impl() const; tools::Rectangle GetBoundingBoxOnScreen_Impl() const; bool IsAlive_Impl() const; @@ -105,7 +103,6 @@ namespace accessibility void NotifyAccessibleEvent( sal_Int16 _nEventId, const css::uno::Any& _aOldValue, const css::uno::Any& _aNewValue ); - protected: virtual ~AccessibleListBoxEntry() override; /** this function is called upon disposing the component @@ -135,7 +132,7 @@ namespace accessibility SvTreeListEntry* GetSvLBoxEntry() const { return m_pSvLBoxEntry; } - protected: + private: // XTypeProvider virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; @@ -211,7 +208,7 @@ namespace accessibility virtual sal_Bool SAL_CALL setCurrentValue( const css::uno::Any& aNumber ) override; virtual css::uno::Any SAL_CALL getMaximumValue( ) override; virtual css::uno::Any SAL_CALL getMinimumValue( ) override; - private: + css::uno::Reference< css::accessibility::XAccessible > implGetParentAccessible( ) const; SvTreeListEntry* GetRealChild(sal_Int32 nIndex); sal_Int32 GetRoleType(); |