diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2022-08-31 16:06:20 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2022-08-31 23:38:11 +0200 |
commit | 7d873ed7043c4f7d671d443bcf92369b5fe37224 (patch) | |
tree | 254319103f6da579fcf1f15551e46a2ae070b853 /winaccessibility | |
parent | 58649c1db48b888f7ce4946ca92895fa0bc63349 (diff) |
wina11y: Drop unused member and methods related to selection
Those were only used by
`AccObjectWinManager::UpdateAccSelection`,
which has been dropped in
Change-Id I49bfddb636721d9142a88b7ce1eb3ee3a2f9c695
("wina11y: Drop unused AccObjectWinManager::UpdateAccSelection").
Change-Id: I11d1ad3f01929a68e341f910ec6382f91227e3c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139124
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/inc/AccObject.hxx | 4 | ||||
-rw-r--r-- | winaccessibility/source/service/AccObject.cxx | 15 |
2 files changed, 0 insertions, 19 deletions
diff --git a/winaccessibility/inc/AccObject.hxx b/winaccessibility/inc/AccObject.hxx index 0b34f076b5d6..707d307242bc 100644 --- a/winaccessibility/inc/AccObject.hxx +++ b/winaccessibility/inc/AccObject.hxx @@ -48,7 +48,6 @@ class AccEventListener; class AccObjectManagerAgent; class AccObject; -typedef std::map<const long, AccObject*> IAccSelectionList; typedef std::vector<AccObject *> IAccChildList; @@ -63,7 +62,6 @@ private: AccObject* m_pParentObj; IAccChildList m_childrenList; ::rtl::Reference<AccEventListener> m_pListener; - IAccSelectionList m_selectionList; css::uno::Reference < css::accessibility::XAccessible > m_xAccRef; css::uno::Reference < css::accessibility::XAccessibleAction > m_xAccActionRef; @@ -126,8 +124,6 @@ public: void setFocus(); void unsetFocus(); - void AddSelect(long index, AccObject* accObj); - IAccSelectionList& GetSelection(); void setLocalizedResourceString(); }; diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx index 7b3f1e6fc1db..1f7dc5df224d 100644 --- a/winaccessibility/source/service/AccObject.cxx +++ b/winaccessibility/source/service/AccObject.cxx @@ -953,21 +953,6 @@ bool AccObject::UpdateAccessibleInfoFromUnoToMSAA() return true; } -/* - * Add a child selected element. - * @param pAccObj Child object pointer. - * @return - */ -void AccObject::AddSelect( long index, AccObject* accObj) -{ - m_selectionList.emplace(index,accObj); -} - -IAccSelectionList& AccObject::GetSelection() -{ - return m_selectionList; -} - /** * Set self to focus object in parent child list |