summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2022-01-05 14:18:15 +0000
committerMichael Weghorn <m.weghorn@posteo.de>2022-01-06 10:10:38 +0100
commitfd787538797a182786ab7b1dfc041562b2e5073a (patch)
treee9ec361229de20d1a463765794800a02d19139d7 /winaccessibility
parente60406b0873d9e73e84682248f234fca600a1a34 (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.hxx1
-rw-r--r--winaccessibility/source/service/AccObject.cxx12
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