summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-06-24 13:09:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-06-24 22:16:24 +0200
commit7e4a3eee79b49216696f8c51bf833eee3e06a803 (patch)
tree9a6ceee7e11d2ceeb402303e4cf696c86defd05a /vcl/osx
parentefa19c9a5004699d844d108e2bf0dce845d48959 (diff)
loplugin:unusedmethods
Change-Id: Ib724da1f07be9e8f4d0d505f7f2886990cab661f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97022 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/a11yfocustracker.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/osx/a11yfocustracker.cxx b/vcl/osx/a11yfocustracker.cxx
index 057169a3016d..000a4f04fd59 100644
--- a/vcl/osx/a11yfocustracker.cxx
+++ b/vcl/osx/a11yfocustracker.cxx
@@ -76,12 +76,6 @@ void AquaA11yFocusTracker::WindowEventHandler(void * pThis, VclSimpleEvent& rEve
{
pFocusTracker->menu_highlighted( pMenuEvent );
}
- else if( const VclAccessibleEvent* pAccEvent = dynamic_cast < const VclAccessibleEvent* > (&rEvent) )
- {
- Reference< XAccessible > xAccessible = pAccEvent->GetAccessible();
- if( xAccessible.is() )
- pFocusTracker->setFocusedObject( xAccessible );
- }
break;
default:
break;