diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-23 16:02:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-23 20:49:03 +0100 |
commit | 9c2e77152c3b824153ef5451ababe58dc5ce981c (patch) | |
tree | 7aaeaa6398fceea14ee508c9b3b5c082f2536920 /accessibility | |
parent | bf059cd63fe01094b3eb469b2f4529820d692f32 (diff) |
loplugin:unusedfields make some fields private
this is one of the secondary analyses this plugin performs
Change-Id: Iaa4424c2396470c6f1df85b0290fbffdda35fa08
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143177
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/inc/standard/vclxaccessiblebox.hxx | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/accessibility/inc/standard/vclxaccessiblebox.hxx b/accessibility/inc/standard/vclxaccessiblebox.hxx index 9b1c5aadbc45..9abebf6f3b19 100644 --- a/accessibility/inc/standard/vclxaccessiblebox.hxx +++ b/accessibility/inc/standard/vclxaccessiblebox.hxx @@ -110,7 +110,22 @@ public: virtual css::uno::Any SAL_CALL getMinimumValue( ) override; virtual css::uno::Any SAL_CALL getMinimumIncrement( ) override; + protected: + virtual ~VCLXAccessibleBox() override = default; + + /** Returns true when the object is valid. + */ + virtual bool IsValid() const = 0; + + virtual void ProcessWindowChildEvent (const VclWindowEvent& rVclWindowEvent) override; + virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) override; + + virtual void FillAccessibleStateSet( sal_Int64& rStateSet ) override; + + sal_Int64 implGetAccessibleChildCount(); + +private: /** Specifies whether the box is a combo box or a list box. List boxes have multi selection. */ @@ -140,19 +155,6 @@ protected: same life time. */ bool m_bHasListChild; - - virtual ~VCLXAccessibleBox() override = default; - - /** Returns true when the object is valid. - */ - virtual bool IsValid() const = 0; - - virtual void ProcessWindowChildEvent (const VclWindowEvent& rVclWindowEvent) override; - virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) override; - - virtual void FillAccessibleStateSet( sal_Int64& rStateSet ) override; - - sal_Int64 implGetAccessibleChildCount(); }; |