summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/a11y/atklistener.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk/a11y/atklistener.cxx')
-rw-r--r--vcl/unx/gtk/a11y/atklistener.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/vcl/unx/gtk/a11y/atklistener.cxx b/vcl/unx/gtk/a11y/atklistener.cxx
index 39930b274fda..5cc6083fc288 100644
--- a/vcl/unx/gtk/a11y/atklistener.cxx
+++ b/vcl/unx/gtk/a11y/atklistener.cxx
@@ -121,9 +121,6 @@ void AtkListener::updateChildList(
css::uno::Reference<css::accessibility::XAccessibleContext> const &
pContext)
{
- if (!pContext.is())
- return;
-
m_aChildList.clear();
uno::Reference< accessibility::XAccessibleStateSet > xStateSet = pContext->getAccessibleStateSet();
@@ -258,19 +255,6 @@ void AtkListener::handleInvalidateChildren(
}
}
-void AtkListener::stopListening()
-{
- uno::Reference<accessibility::XAccessibleEventBroadcaster> xBroadcaster(
- mpWrapper->mpContext.get(), uno::UNO_QUERY);
-
- if (xBroadcaster.is())
- {
- uno::Reference<accessibility::XAccessibleEventListener> xListener(this);
- if (xListener.is())
- xBroadcaster->removeAccessibleEventListener(xListener);
- }
-}
-
/*****************************************************************************/
static uno::Reference< accessibility::XAccessibleContext >
@@ -362,10 +346,6 @@ void AtkListener::notifyEvent( const accessibility::AccessibleEventObject& aEven
gboolean bState = eNewState != ATK_STATE_INVALID;
AtkStateType eRealState = bState ? eNewState : eOldState;
- if (eOldState == ATK_STATE_FOCUSED)
- // Stop listening to object going out-of-focus.
- stopListening();
-
atk_object_notify_state_change( atk_obj, eRealState, bState );
break;
}