summaryrefslogtreecommitdiff
path: root/vcl/aqua/source/a11y/documentfocuslistener.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/aqua/source/a11y/documentfocuslistener.cxx')
-rw-r--r--vcl/aqua/source/a11y/documentfocuslistener.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/aqua/source/a11y/documentfocuslistener.cxx b/vcl/aqua/source/a11y/documentfocuslistener.cxx
index 896f0a002047..ac65f1e84338 100644
--- a/vcl/aqua/source/a11y/documentfocuslistener.cxx
+++ b/vcl/aqua/source/a11y/documentfocuslistener.cxx
@@ -169,7 +169,7 @@ void DocumentFocusListener::attachRecursive(
// If not already done, add the broadcaster to the list and attach as listener.
if( xBroadcaster.is() && m_aRefList.insert(xBroadcaster).second )
{
- xBroadcaster->addEventListener(static_cast< XAccessibleEventListener *>(this));
+ xBroadcaster->addAccessibleEventListener(static_cast< XAccessibleEventListener *>(this));
if( ! xStateSet->contains(AccessibleStateType::MANAGES_DESCENDANTS ) )
{
@@ -222,7 +222,7 @@ void DocumentFocusListener::detachRecursive(
if( xBroadcaster.is() && 0 < m_aRefList.erase(xBroadcaster) )
{
- xBroadcaster->removeEventListener(static_cast< XAccessibleEventListener *>(this));
+ xBroadcaster->removeAccessibleEventListener(static_cast< XAccessibleEventListener *>(this));
if( ! xStateSet->contains(AccessibleStateType::MANAGES_DESCENDANTS ) )
{