diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2023-08-23 16:40:53 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2023-08-23 22:21:41 +0200 |
commit | 9ba4b01ba57d059a04038823a1f0cf3bb2cb383c (patch) | |
tree | ed9a6d3a26b8c794b7c84b04db153dd9d6a01842 /accessibility | |
parent | f6e8e1799315fd9494db514d969c24cf0ca46753 (diff) |
a11y: Make AccessibleBrowseBoxBase's client ID private
The getter and setter are only used by the class itself, not
by any derived classes, and the client ID is an implementation
detail, so make the methods private instead of protected.
Change-Id: I380aa9848ae515b7b4ae1a727b3c5720b53250fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156010
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/inc/extended/AccessibleBrowseBoxBase.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx b/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx index ef199ee2da5c..d4ea1aabc07f 100644 --- a/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx +++ b/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx @@ -270,9 +270,6 @@ protected: */ AbsoluteScreenPixelRectangle getBoundingBoxOnScreen(); - ::comphelper::AccessibleEventNotifier::TClientId getClientId() const { return m_aClientId; } - void setClientId(::comphelper::AccessibleEventNotifier::TClientId _aNewClientId) { m_aClientId = _aNewClientId; } - public: /** @return The osl::Mutex member provided by the class BaseMutex. */ ::osl::Mutex& getMutex( ) { return m_aMutex; } @@ -294,6 +291,9 @@ protected: css::uno::Reference< css::awt::XWindow > m_xFocusWindow; private: + ::comphelper::AccessibleEventNotifier::TClientId getClientId() const { return m_aClientId; } + void setClientId(::comphelper::AccessibleEventNotifier::TClientId _aNewClientId) { m_aClientId = _aNewClientId; } + /** Localized name. */ OUString maName; /** Localized description text. */ |