diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2022-01-05 14:14:18 +0000 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2022-01-06 10:10:25 +0100 |
commit | e60406b0873d9e73e84682248f234fca600a1a34 (patch) | |
tree | 98ebe7697f2c69f6814ab4da347d8a1085650587 | |
parent | fcf4a26275d7503835f9aa23cb94938809840300 (diff) |
wina11y: Drop unused AccObjectWinManager::SetRole
Change-Id: Ic2d470a137e4d0c907f28e24c58ba19a937a8b4b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128008
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r-- | winaccessibility/inc/AccObjectWinManager.hxx | 2 | ||||
-rw-r--r-- | winaccessibility/source/service/AccObjectWinManager.cxx | 13 |
2 files changed, 0 insertions, 15 deletions
diff --git a/winaccessibility/inc/AccObjectWinManager.hxx b/winaccessibility/inc/AccObjectWinManager.hxx index 911c83ea2a8f..813c1d8541fa 100644 --- a/winaccessibility/inc/AccObjectWinManager.hxx +++ b/winaccessibility/inc/AccObjectWinManager.hxx @@ -122,8 +122,6 @@ public: void SetAccName( css::accessibility::XAccessible* pXAcc, css::uno::Any newName); void UpdateAccName( css::accessibility::XAccessible* pXAcc ); - void SetRole( css::accessibility::XAccessible* pXAcc, long Role ); - void UpdateAccFocus( css::accessibility::XAccessible* newFocus ); void UpdateAction( css::accessibility::XAccessible* pXAcc ); diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx index 69d8af6ee65a..341d108e1bff 100644 --- a/winaccessibility/source/service/AccObjectWinManager.cxx +++ b/winaccessibility/source/service/AccObjectWinManager.cxx @@ -978,19 +978,6 @@ void AccObjectWinManager::SetAccName( XAccessible* pXAcc, Any newName) } /** - * Set corresponding com object's role via XAccessible interface and new role. - * @param pXAcc XAccessible interface. - * @param Role new role - * @return - */ -void AccObjectWinManager::SetRole( XAccessible* pXAcc, long Role ) -{ - AccObject* pAccObj = GetAccObjByXAcc( pXAcc ); - if( pAccObj ) - pAccObj->SetRole( static_cast<short>(Role) ); -} - -/** * Judge if a XAccessible object is a container object. * @param pAccessible XAccessible interface. * @return If XAccessible object is container. |