diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-20 14:49:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-20 20:04:36 +0100 |
commit | e58d4cc1dd954371ef4c3438a3a880939620cd87 (patch) | |
tree | 76c5ab1086077fc9fea8e2c793ff26cfe56c57d5 /svx/source/accessibility/ChildrenManagerImpl.cxx | |
parent | 48b23bbfa0271ed327f668933b92d2ae9b99e806 (diff) |
loplugin:unusedmethods
Change-Id: Id5f7a9c34d1d159dd0f930a4ce66871bdd3796c1
Reviewed-on: https://gerrit.libreoffice.org/83305
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/accessibility/ChildrenManagerImpl.cxx')
-rw-r--r-- | svx/source/accessibility/ChildrenManagerImpl.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx index b69b14af5e7e..bedd363919f8 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.cxx +++ b/svx/source/accessibility/ChildrenManagerImpl.cxx @@ -179,17 +179,6 @@ uno::Reference<XAccessible> } -uno::Reference<XAccessible> - ChildrenManagerImpl::GetChild (const uno::Reference<drawing::XShape>& xShape) -{ - auto I = std::find_if(maVisibleChildren.begin(), maVisibleChildren.end(), - [&xShape](const ChildDescriptor& rChild) { return rChild.mxShape.get() == xShape.get(); }); - if (I != maVisibleChildren.end()) - return I->mxAccessibleShape; - return uno::Reference<XAccessible> (); -} - - /** Find all shapes among the specified shapes that lie fully or partially inside the visible area. Put those shapes into the cleared cache. The corresponding accessible objects will be created on demand. |