diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2023-08-01 09:35:48 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2023-08-01 13:14:46 +0200 |
commit | f9631765c9dfd805ae486a94eacb69d307c9eef1 (patch) | |
tree | 16e976b3d6448c78603d9771082dd6c3fd88f057 /winaccessibility/inc | |
parent | 1d92445fcac1c51c17d8dbfd1a4017430fe7bc46 (diff) |
wina11y: Drop/Clean up CHILD event handling in subclasses
Now that Change-Id I62ab32342ef67c770ced9f0d2be867dc9355bd4a
("tdf#156561 wina11y: Handle CHILD event") has implemented
handling for the CHILD event in `AccEventListener`,
drop the overrides in child classes that effectively
do the same.
For the case that a new child gets added,
`AccFrameEventListener::HandleChildChangedEvent`
also passes the HWND, so leave that and only
forward to the base class for the other case.
Change-Id: I68d836abedbf3563df84187d56851820c043866f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155127
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'winaccessibility/inc')
5 files changed, 0 insertions, 17 deletions
diff --git a/winaccessibility/inc/AccContainerEventListener.hxx b/winaccessibility/inc/AccContainerEventListener.hxx index cf1cdb2157c4..0ce0c217548a 100644 --- a/winaccessibility/inc/AccContainerEventListener.hxx +++ b/winaccessibility/inc/AccContainerEventListener.hxx @@ -45,10 +45,6 @@ public: //AccessibleEventListener virtual void SAL_CALL notifyEvent( const css::accessibility::AccessibleEventObject& aEvent ) override; - //for child changed event - virtual void HandleChildChangedEvent( - css::uno::Any oldValue, css::uno::Any newValue) override; - //for selection changed event virtual void HandleSelectionChangedEvent( const css::uno::Any &oldValue, const css::uno::Any &newValue); diff --git a/winaccessibility/inc/AccDescendantManagerEventListener.hxx b/winaccessibility/inc/AccDescendantManagerEventListener.hxx index 0f0e30ed3af1..4cae3c808dd0 100644 --- a/winaccessibility/inc/AccDescendantManagerEventListener.hxx +++ b/winaccessibility/inc/AccDescendantManagerEventListener.hxx @@ -49,10 +49,6 @@ public: virtual void HandleSelectionChangedEvent( css::uno::Any oldValue, css::uno::Any newValue); - //for child changed event - virtual void HandleChildChangedEvent( - css::uno::Any oldValue, css::uno::Any newValue) override; - virtual void HandleChildChangedNoFocusEvent( css::uno::Any oldValue, css::uno::Any newValue); diff --git a/winaccessibility/inc/AccDialogEventListener.hxx b/winaccessibility/inc/AccDialogEventListener.hxx index 49482474f811..f2d7ff9a0005 100644 --- a/winaccessibility/inc/AccDialogEventListener.hxx +++ b/winaccessibility/inc/AccDialogEventListener.hxx @@ -40,9 +40,6 @@ public: virtual void SAL_CALL notifyEvent(const css::accessibility::AccessibleEventObject& aEvent) override; - //for child changed event - virtual void HandleChildChangedEvent(css::uno::Any oldValue, css::uno::Any newValue) override; - //state changed virtual void SetComponentState(sal_Int64 state, bool enable) override; }; diff --git a/winaccessibility/inc/AccMenuEventListener.hxx b/winaccessibility/inc/AccMenuEventListener.hxx index 93c9f0f2f867..354d7166029d 100644 --- a/winaccessibility/inc/AccMenuEventListener.hxx +++ b/winaccessibility/inc/AccMenuEventListener.hxx @@ -40,9 +40,6 @@ public: virtual void SAL_CALL notifyEvent(const css::accessibility::AccessibleEventObject& aEvent) override; - //for child changed event - virtual void HandleChildChangedEvent(css::uno::Any oldValue, css::uno::Any newValue) override; - //for selection changed event virtual void HandleSelectionChangedEventNoArgs(); diff --git a/winaccessibility/inc/AccWindowEventListener.hxx b/winaccessibility/inc/AccWindowEventListener.hxx index 6fb20892813b..dfc3e2756b2e 100644 --- a/winaccessibility/inc/AccWindowEventListener.hxx +++ b/winaccessibility/inc/AccWindowEventListener.hxx @@ -40,9 +40,6 @@ public: virtual void SAL_CALL notifyEvent(const css::accessibility::AccessibleEventObject& aEvent) override; - //for child changed event - virtual void HandleChildChangedEvent(css::uno::Any oldValue, css::uno::Any newValue) override; - //state changed virtual void SetComponentState(sal_Int64 state, bool enable) override; }; |