diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2022-01-05 14:18:15 +0000 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2022-01-06 10:10:38 +0100 |
commit | fd787538797a182786ab7b1dfc041562b2e5073a (patch) | |
tree | e9ec361229de20d1a463765794800a02d19139d7 /winaccessibility | |
parent | e60406b0873d9e73e84682248f234fca600a1a34 (diff) |
wina11y: Drop now unused AccObject::SetRole
Change-Id: I04db43ac49d7bc6ff42157cdd0c94087c454c981
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128009
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/inc/AccObject.hxx | 1 | ||||
-rw-r--r-- | winaccessibility/source/service/AccObject.cxx | 12 |
2 files changed, 0 insertions, 13 deletions
diff --git a/winaccessibility/inc/AccObject.hxx b/winaccessibility/inc/AccObject.hxx index 6da9d6621c5e..a255f36268fa 100644 --- a/winaccessibility/inc/AccObject.hxx +++ b/winaccessibility/inc/AccObject.hxx @@ -114,7 +114,6 @@ public: void SetName( css::uno::Any newName); void SetValue( css::uno::Any pAny ); - void SetRole( short Role ); short GetRole() const; diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx index 781c58c82e71..cbda17fa3e77 100644 --- a/winaccessibility/source/service/AccObject.cxx +++ b/winaccessibility/source/service/AccObject.cxx @@ -486,18 +486,6 @@ void AccObject::SetName( Any pAny) } /** - * Set role property via pAny - * @param Role New accessible role. - * @return - */ -void AccObject::SetRole( short Role ) -{ - if( nullptr == m_pIMAcc ) - return ; - m_pIMAcc->Put_XAccRole( Role ); -} - -/** * Get role property via pAny * @param * @return accessible role |