summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-07 15:29:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-10 07:45:39 +0100
commit19ee7861938b59085a50699a51e2f149e49a24e4 (patch)
tree7d784dd4a3e10da8846313ca6a54ee0b2292e759 /accessibility
parent049e026755f7c36c7594bf4e7891603930669a54 (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')
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx6
-rw-r--r--accessibility/inc/extended/AccessibleGridControl.hxx7
-rw-r--r--accessibility/inc/extended/AccessibleGridControlHeader.hxx6
-rw-r--r--accessibility/inc/extended/AccessibleGridControlTable.hxx7
-rw-r--r--accessibility/inc/extended/accessibleeditbrowseboxcell.hxx6
-rw-r--r--accessibility/inc/extended/accessibleiconchoicectrl.hxx6
-rw-r--r--accessibility/inc/extended/accessibleiconchoicectrlentry.hxx10
-rw-r--r--accessibility/inc/extended/accessiblelistbox.hxx14
-rw-r--r--accessibility/inc/extended/accessiblelistboxentry.hxx15
-rw-r--r--accessibility/inc/extended/accessibletabbar.hxx4
-rw-r--r--accessibility/inc/extended/accessibletabbarpagelist.hxx3
-rw-r--r--accessibility/inc/standard/vclxaccessiblecheckbox.hxx3
-rw-r--r--accessibility/inc/standard/vclxaccessiblelist.hxx7
-rw-r--r--accessibility/inc/standard/vclxaccessiblelistitem.hxx4
-rw-r--r--accessibility/inc/standard/vclxaccessiblemenubar.hxx3
-rw-r--r--accessibility/inc/standard/vclxaccessibletabcontrol.hxx3
-rw-r--r--accessibility/inc/standard/vclxaccessibletabpage.hxx3
-rw-r--r--accessibility/inc/standard/vclxaccessibletoolbox.hxx3
18 files changed, 40 insertions, 70 deletions
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx b/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx
index c7bcacaec9a3..03a00d38725e 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx
@@ -36,7 +36,7 @@ typedef ::cppu::ImplHelper1< css::accessibility::XAccessibleSelection >
control (row or column header bar). This object supports the
XAccessibleSelection interface. Selecting a child of this object selects
complete rows or columns of the data table. */
-class AccessibleBrowseBoxHeaderBar :
+class AccessibleBrowseBoxHeaderBar final :
public AccessibleBrowseBoxTableBase,
public AccessibleBrowseBoxHeaderBarImplHelper
{
@@ -50,7 +50,7 @@ public:
::svt::IAccessibleTableProvider& rBrowseBox,
::svt::AccessibleBrowseBoxObjType eObjType );
-protected:
+private:
virtual ~AccessibleBrowseBoxHeaderBar() override;
public:
@@ -157,7 +157,7 @@ public:
/** @return An unique implementation ID. */
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
-protected:
+private:
// internal virtual methods
/** @attention This method requires locked mutex's and a living object.
diff --git a/accessibility/inc/extended/AccessibleGridControl.hxx b/accessibility/inc/extended/AccessibleGridControl.hxx
index 438315acb7c9..d4cf435590a8 100644
--- a/accessibility/inc/extended/AccessibleGridControl.hxx
+++ b/accessibility/inc/extended/AccessibleGridControl.hxx
@@ -33,11 +33,10 @@ namespace accessibility {
/** This class represents the complete accessible Grid Control object. */
-class AccessibleGridControl : public AccessibleGridControlBase
+class AccessibleGridControl final : public AccessibleGridControlBase
{
friend class AccessibleGridControlAccess;
-protected:
AccessibleGridControl(
const css::uno::Reference< css::accessibility::XAccessible >& _rxParent,
const css::uno::Reference< css::accessibility::XAccessible >& _rxCreator,
@@ -50,7 +49,6 @@ protected:
using AccessibleGridControlBase::disposing;
virtual void SAL_CALL disposing() override;
-protected:
// XAccessibleContext -----------------------------------------------------
/** @return The count of visible children. */
@@ -106,7 +104,7 @@ public:
void commitTableEvent(sal_Int16 nEventId, const css::uno::Any& rNewValue,
const css::uno::Any& rOldValue);
-protected:
+private:
// internal virtual methods -----------------------------------------------
/** @attention This method requires locked mutex's and a living object.
@@ -140,7 +138,6 @@ protected:
@return An AccessibleGridControlTable. */
AccessibleGridControlTable* createAccessibleTable();
-private:
// members ----------------------------------------------------------------
std::unique_ptr< AccessibleGridControl_Impl > m_xImpl;
};
diff --git a/accessibility/inc/extended/AccessibleGridControlHeader.hxx b/accessibility/inc/extended/AccessibleGridControlHeader.hxx
index 8024b504dfe4..dc65cbe199d4 100644
--- a/accessibility/inc/extended/AccessibleGridControlHeader.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlHeader.hxx
@@ -30,7 +30,7 @@ namespace accessibility {
(row or column header bar). This object supports the
XAccessibleSelection interface. Selecting a child of this object selects
complete rows or columns of the data table. */
-class AccessibleGridControlHeader : public AccessibleGridControlTableBase
+class AccessibleGridControlHeader final : public AccessibleGridControlTableBase
{
public:
/** @param rxParent accessible parent control
@@ -43,7 +43,7 @@ public:
::svt::table::IAccessibleTable& rTable,
::svt::table::AccessibleTableControlObjType eObjType );
-protected:
+private:
virtual ~AccessibleGridControlHeader() override;
public:
@@ -115,7 +115,7 @@ public:
/** @return An unique implementation ID. */
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
-protected:
+private:
/** Returns the specified row or column. Uses one of the parameters,
depending on object type.
@attention This method requires locked mutex's and a living object.
diff --git a/accessibility/inc/extended/AccessibleGridControlTable.hxx b/accessibility/inc/extended/AccessibleGridControlTable.hxx
index 21e3ad9c5111..f66a088eef82 100644
--- a/accessibility/inc/extended/AccessibleGridControlTable.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlTable.hxx
@@ -34,7 +34,7 @@ typedef ::cppu::ImplHelper1 < css::accessibility::XAccessibleSelection >
AccessibleGridControlTableSelectionImplHelper;
/** This class represents the accessible object of the data table of a
Grid control. */
-class AccessibleGridControlTable : public AccessibleGridControlTableBase,
+class AccessibleGridControlTable final : public AccessibleGridControlTableBase,
public AccessibleGridControlTableSelectionImplHelper
{
public:
@@ -42,9 +42,8 @@ public:
const css::uno::Reference< css::accessibility::XAccessible >& rxParent,
::svt::table::IAccessibleTable& rTable);
-protected:
- virtual ~AccessibleGridControlTable() override;
private:
+ virtual ~AccessibleGridControlTable() override;
std::vector< AccessibleGridControlTableCell* > m_pCellVector;
std::vector< css::uno::Reference< css::accessibility::XAccessible> > m_pAccessCellVector;
public:
@@ -147,7 +146,7 @@ public:
/**@return m_xAccessCellVector*/
std::vector< css::uno::Reference< css::accessibility::XAccessible > >& getAccessibleCellVector() { return m_pAccessCellVector;}
-protected:
+private:
// internal virtual methods
/** @attention This method requires locked mutex's and a living object.
diff --git a/accessibility/inc/extended/accessibleeditbrowseboxcell.hxx b/accessibility/inc/extended/accessibleeditbrowseboxcell.hxx
index 81e5eadb8d45..3713c6d162a7 100644
--- a/accessibility/inc/extended/accessibleeditbrowseboxcell.hxx
+++ b/accessibility/inc/extended/accessibleeditbrowseboxcell.hxx
@@ -95,11 +95,10 @@ namespace accessibility
// = EditBrowseBoxTableCell
// XAccessible providing an EditBrowseBoxTableCell
- class EditBrowseBoxTableCellAccess:
+ class EditBrowseBoxTableCellAccess final :
public cppu::BaseMutex,
public cppu::WeakComponentImplHelper<css::accessibility::XAccessible>
{
- protected:
css::uno::WeakReference< css::accessibility::XAccessibleContext >
m_aContext;
css::uno::Reference< css::accessibility::XAccessible >
@@ -122,7 +121,7 @@ namespace accessibility
sal_uInt16 _nColPos
);
- protected:
+ private:
virtual ~EditBrowseBoxTableCellAccess() override;
// XAccessible
@@ -131,7 +130,6 @@ namespace accessibility
// XComponent/OComponentHelper
virtual void SAL_CALL disposing() override;
- private:
EditBrowseBoxTableCellAccess( const EditBrowseBoxTableCellAccess& ) = delete;
EditBrowseBoxTableCellAccess& operator=( const EditBrowseBoxTableCellAccess& ) = delete;
};
diff --git a/accessibility/inc/extended/accessibleiconchoicectrl.hxx b/accessibility/inc/extended/accessibleiconchoicectrl.hxx
index b97e5bc70ab3..1d5c76f2fc8b 100644
--- a/accessibility/inc/extended/accessibleiconchoicectrl.hxx
+++ b/accessibility/inc/extended/accessibleiconchoicectrl.hxx
@@ -37,13 +37,11 @@ namespace accessibility
/** the class OAccessibleListBoxEntry represents the base class for an accessible object of a listbox entry
*/
- class AccessibleIconChoiceCtrl :public AccessibleIconChoiceCtrl_BASE
- ,public VCLXAccessibleComponent
+ class AccessibleIconChoiceCtrl final : public AccessibleIconChoiceCtrl_BASE
+ ,public VCLXAccessibleComponent
{
- protected:
css::uno::Reference< css::accessibility::XAccessible > m_xParent;
- protected:
virtual ~AccessibleIconChoiceCtrl() override;
/** this function is called upon disposing the component */
diff --git a/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx b/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx
index 1b1f6a832414..e256034d2952 100644
--- a/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx
+++ b/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx
@@ -57,22 +57,19 @@ namespace accessibility
, css::lang::XEventListener > AccessibleIconChoiceCtrlEntry_BASE;
/** the class AccessibleListBoxEntry represents the class for an accessible object of a listbox entry */
- class AccessibleIconChoiceCtrlEntry : public ::cppu::BaseMutex,
- public AccessibleIconChoiceCtrlEntry_BASE,
- public ::comphelper::OCommonAccessibleText
+ class AccessibleIconChoiceCtrlEntry final : public ::cppu::BaseMutex,
+ public AccessibleIconChoiceCtrlEntry_BASE,
+ public ::comphelper::OCommonAccessibleText
{
- private:
/** The treelistbox control */
VclPtr<SvtIconChoiceCtrl> m_pIconCtrl;
sal_Int32 m_nIndex;
- protected:
/// client id in the AccessibleEventNotifier queue
sal_uInt32 m_nClientId;
css::uno::Reference< css::accessibility::XAccessible > m_xParent;
- private:
tools::Rectangle GetBoundingBox_Impl() const;
tools::Rectangle GetBoundingBoxOnScreen_Impl() const;
bool IsAlive_Impl() const;
@@ -87,7 +84,6 @@ namespace accessibility
/// @throws css::lang::DisposedException
void EnsureIsAlive() const;
- protected:
virtual ~AccessibleIconChoiceCtrlEntry() override;
/** this function is called upon disposing the component
*/
diff --git a/accessibility/inc/extended/accessiblelistbox.hxx b/accessibility/inc/extended/accessiblelistbox.hxx
index 374d99ad5c77..c38f47741896 100644
--- a/accessibility/inc/extended/accessiblelistbox.hxx
+++ b/accessibility/inc/extended/accessiblelistbox.hxx
@@ -39,17 +39,15 @@ namespace accessibility
/** the class OAccessibleListBoxEntry represents the base class for an accessible object of a listbox entry
*/
- class AccessibleListBox:
+ class AccessibleListBox final :
public cppu::ImplHelper2<
css::accessibility::XAccessible,
css::accessibility::XAccessibleSelection>,
public VCLXAccessibleComponent
{
- protected:
css::uno::Reference< css::accessibility::XAccessible > m_xParent;
- protected:
virtual ~AccessibleListBox() override;
// OComponentHelper overridables
@@ -108,14 +106,14 @@ namespace accessibility
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
-private:
+ private:
- typedef std::map< SvTreeListEntry*, css::uno::Reference< css::accessibility::XAccessible > > MAP_ENTRY;
- MAP_ENTRY m_mapEntry;
+ typedef std::map< SvTreeListEntry*, css::uno::Reference< css::accessibility::XAccessible > > MAP_ENTRY;
+ MAP_ENTRY m_mapEntry;
- css::uno::Reference< css::accessibility::XAccessible > m_xFocusedChild;
+ css::uno::Reference< css::accessibility::XAccessible > m_xFocusedChild;
- accessibility::AccessibleListBoxEntry* GetCurEventEntry( const VclWindowEvent& rVclWindowEvent );
+ accessibility::AccessibleListBoxEntry* GetCurEventEntry( const VclWindowEvent& rVclWindowEvent );
};
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();
diff --git a/accessibility/inc/extended/accessibletabbar.hxx b/accessibility/inc/extended/accessibletabbar.hxx
index c1ff46a28964..509a4d676cfd 100644
--- a/accessibility/inc/extended/accessibletabbar.hxx
+++ b/accessibility/inc/extended/accessibletabbar.hxx
@@ -43,15 +43,13 @@ namespace accessibility
css::accessibility::XAccessible,
css::lang::XServiceInfo > AccessibleTabBar_BASE;
- class AccessibleTabBar : public AccessibleTabBarBase,
+ class AccessibleTabBar final : public AccessibleTabBarBase,
public AccessibleTabBar_BASE
{
- private:
typedef std::vector< css::uno::Reference< css::accessibility::XAccessible > > AccessibleChildren;
AccessibleChildren m_aAccessibleChildren;
- protected:
virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override;
void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
diff --git a/accessibility/inc/extended/accessibletabbarpagelist.hxx b/accessibility/inc/extended/accessibletabbarpagelist.hxx
index 83302edf2cf5..fd1fac5f4527 100644
--- a/accessibility/inc/extended/accessibletabbarpagelist.hxx
+++ b/accessibility/inc/extended/accessibletabbarpagelist.hxx
@@ -45,7 +45,7 @@ namespace accessibility
css::accessibility::XAccessibleSelection,
css::lang::XServiceInfo > AccessibleTabBarPageList_BASE;
- class AccessibleTabBarPageList : public AccessibleTabBarBase,
+ class AccessibleTabBarPageList final : public AccessibleTabBarBase,
public AccessibleTabBarPageList_BASE
{
private:
@@ -54,7 +54,6 @@ namespace accessibility
AccessibleChildren m_aAccessibleChildren;
sal_Int32 m_nIndexInParent;
- protected:
void UpdateShowing( bool bShowing );
void UpdateSelected( sal_Int32 i, bool bSelected );
void UpdatePageText( sal_Int32 i );
diff --git a/accessibility/inc/standard/vclxaccessiblecheckbox.hxx b/accessibility/inc/standard/vclxaccessiblecheckbox.hxx
index 647c7b18f6f3..48b3aaa379b7 100644
--- a/accessibility/inc/standard/vclxaccessiblecheckbox.hxx
+++ b/accessibility/inc/standard/vclxaccessiblecheckbox.hxx
@@ -35,14 +35,13 @@ typedef ::cppu::ImplHelper2<
css::accessibility::XAccessibleAction,
css::accessibility::XAccessibleValue > VCLXAccessibleCheckBox_BASE;
-class VCLXAccessibleCheckBox : public VCLXAccessibleTextComponent,
+class VCLXAccessibleCheckBox final : public VCLXAccessibleTextComponent,
public VCLXAccessibleCheckBox_BASE
{
private:
bool m_bChecked;
bool m_bIndeterminate;
-protected:
virtual ~VCLXAccessibleCheckBox() override;
bool IsChecked();
diff --git a/accessibility/inc/standard/vclxaccessiblelist.hxx b/accessibility/inc/standard/vclxaccessiblelist.hxx
index 370ebc3e6be8..a9ee46c6ca8b 100644
--- a/accessibility/inc/standard/vclxaccessiblelist.hxx
+++ b/accessibility/inc/standard/vclxaccessiblelist.hxx
@@ -49,7 +49,7 @@ namespace accessibility
access to their underlying list implementation. Look into derived
classes for selection.
*/
-class VCLXAccessibleList
+class VCLXAccessibleList final
: public VCLXAccessibleComponent,
public VCLXAccessibleList_BASE
{
@@ -128,7 +128,7 @@ public:
static void NotifyListItem(css::uno::Any const & val);
::accessibility::IComboListBoxHelper* getListBoxHelper() { return m_pListBoxHelper.get(); }
-protected:
+private:
BoxType m_aBoxType;
std::unique_ptr<::accessibility::IComboListBoxHelper> m_pListBoxHelper;
ListItems m_aAccessibleChildren;
@@ -170,19 +170,16 @@ protected:
// VCLXAccessibleComponent
virtual css::awt::Rectangle implGetBounds( ) override;
-private:
/** We need to save the accessible parent to return it in getAccessibleParent(),
because this method of the base class returns the wrong parent.
*/
css::uno::Reference< css::accessibility::XAccessible > m_xParent;
void UpdateEntryRange_Impl();
-protected:
void UpdateSelection_Impl(sal_Int32 nPos = 0);
bool checkEntrySelected(sal_Int32 _nPos,
css::uno::Any& _rNewValue,
css::uno::Reference< css::accessibility::XAccessible >& _rxNewAcc);
-private:
void notifyVisibleStates(bool _bSetNew );
void UpdateVisibleLineCount();
};
diff --git a/accessibility/inc/standard/vclxaccessiblelistitem.hxx b/accessibility/inc/standard/vclxaccessiblelistitem.hxx
index a9d9db5ba624..3c8ef2e0e589 100644
--- a/accessibility/inc/standard/vclxaccessiblelistitem.hxx
+++ b/accessibility/inc/standard/vclxaccessiblelistitem.hxx
@@ -52,7 +52,7 @@ typedef ::cppu::WeakAggComponentImplHelper6< css::accessibility::XAccessible
/** the class OAccessibleListBoxEntry represents the base class for an accessible object of a listbox entry
*/
-class VCLXAccessibleListItem : public ::cppu::BaseMutex,
+class VCLXAccessibleListItem final : public ::cppu::BaseMutex,
public ::comphelper::OCommonAccessibleText,
public VCLXAccessibleListItem_BASE
{
@@ -62,14 +62,12 @@ private:
bool m_bSelected;
bool m_bVisible;
-protected:
/// client id in the AccessibleEventNotifier queue
sal_uInt32 m_nClientId;
rtl::Reference< VCLXAccessibleList > m_xParent;
css::uno::Reference< css::accessibility::XAccessibleContext > m_xParentContext;
-protected:
virtual ~VCLXAccessibleListItem() override;
/** this function is called upon disposing the component
*/
diff --git a/accessibility/inc/standard/vclxaccessiblemenubar.hxx b/accessibility/inc/standard/vclxaccessiblemenubar.hxx
index 2c795cd31992..d7736baf6031 100644
--- a/accessibility/inc/standard/vclxaccessiblemenubar.hxx
+++ b/accessibility/inc/standard/vclxaccessiblemenubar.hxx
@@ -31,9 +31,8 @@ namespace vcl { class Window; }
// class VCLXAccessibleMenuBar
-class VCLXAccessibleMenuBar : public OAccessibleMenuComponent
+class VCLXAccessibleMenuBar final : public OAccessibleMenuComponent
{
-protected:
VclPtr<vcl::Window> m_pWindow;
virtual bool IsFocused() override;
diff --git a/accessibility/inc/standard/vclxaccessibletabcontrol.hxx b/accessibility/inc/standard/vclxaccessibletabcontrol.hxx
index d30aa57959de..7b0892076cd2 100644
--- a/accessibility/inc/standard/vclxaccessibletabcontrol.hxx
+++ b/accessibility/inc/standard/vclxaccessibletabcontrol.hxx
@@ -35,7 +35,7 @@ class TabControl;
typedef ::cppu::ImplHelper1 <
css::accessibility::XAccessibleSelection > VCLXAccessibleTabControl_BASE;
-class VCLXAccessibleTabControl : public VCLXAccessibleComponent,
+class VCLXAccessibleTabControl final : public VCLXAccessibleComponent,
public VCLXAccessibleTabControl_BASE
{
private:
@@ -44,7 +44,6 @@ private:
AccessibleChildren m_aAccessibleChildren;
VclPtr<TabControl> m_pTabControl;
-protected:
void UpdateFocused();
void UpdateSelected( sal_Int32 i, bool bSelected );
void UpdatePageText( sal_Int32 i );
diff --git a/accessibility/inc/standard/vclxaccessibletabpage.hxx b/accessibility/inc/standard/vclxaccessibletabpage.hxx
index 66a2fbc8f87d..3acc11a5fb3f 100644
--- a/accessibility/inc/standard/vclxaccessibletabpage.hxx
+++ b/accessibility/inc/standard/vclxaccessibletabpage.hxx
@@ -43,7 +43,7 @@ typedef ::cppu::ImplHelper2<
css::accessibility::XAccessible,
css::lang::XServiceInfo > VCLXAccessibleTabPage_BASE;
-class VCLXAccessibleTabPage : public AccessibleTextHelper_BASE,
+class VCLXAccessibleTabPage final : public AccessibleTextHelper_BASE,
public VCLXAccessibleTabPage_BASE
{
friend class VCLXAccessibleTabControl;
@@ -55,7 +55,6 @@ private:
bool m_bSelected;
OUString m_sPageText;
-protected:
bool IsFocused();
bool IsSelected();
diff --git a/accessibility/inc/standard/vclxaccessibletoolbox.hxx b/accessibility/inc/standard/vclxaccessibletoolbox.hxx
index 0088bb16d1fd..add703137fb2 100644
--- a/accessibility/inc/standard/vclxaccessibletoolbox.hxx
+++ b/accessibility/inc/standard/vclxaccessibletoolbox.hxx
@@ -35,7 +35,7 @@ typedef std::map< sal_Int32, css::uno::Reference< css::accessibility::XAccessibl
class VCLXAccessibleToolBoxItem;
class ToolBox;
-class VCLXAccessibleToolBox : public VCLXAccessibleComponent, public VCLXAccessibleToolBox_BASE
+class VCLXAccessibleToolBox final : public VCLXAccessibleComponent, public VCLXAccessibleToolBox_BASE
{
private:
ToolBoxItemsMap m_aAccessibleChildren;
@@ -54,7 +54,6 @@ private:
void HandleSubToolBarEvent( const VclWindowEvent& rVclWindowEvent );
void ReleaseSubToolBox( ToolBox* _pSubToolBox );
-protected:
virtual ~VCLXAccessibleToolBox() override;
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) override;