-Werror,-Wunused-parameter

...since fcf4a26275 "tdf#146306 wina11y: Retrieve
accessible desc on demand"

Change-Id: I8acdca5fac481ca7b970fb9c3660470c5febdf99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128307
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2022-01-12 08:16:31 +01:00
parent 3e94991d7f
commit 3b48e20b01
2 changed files with 3 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ public:
virtual void HandleNameChangedEvent(css::uno::Any name);
//for description changed event
virtual void HandleDescriptionChangedEvent(css::uno::Any desc);
virtual void HandleDescriptionChangedEvent();
//for state changed event
virtual void HandleStateChangedEvent(css::uno::Any oldValue, css::uno::Any newValue);

View File

@@ -63,7 +63,7 @@ void AccEventListener::notifyEvent(const css::accessibility::AccessibleEventObje
HandleNameChangedEvent(aEvent.NewValue);
break;
case AccessibleEventId::DESCRIPTION_CHANGED:
HandleDescriptionChangedEvent(aEvent.NewValue);
HandleDescriptionChangedEvent();
break;
case AccessibleEventId::STATE_CHANGED:
HandleStateChangedEvent(aEvent.OldValue, aEvent.NewValue);
@@ -95,9 +95,8 @@ void AccEventListener::HandleNameChangedEvent(Any name)
/**
* handle the DESCRIPTION_CHANGED event
* @param desc the new description
*/
void AccEventListener::HandleDescriptionChangedEvent(Any desc)
void AccEventListener::HandleDescriptionChangedEvent()
{
pAgent->NotifyAccEvent(UM_EVENT_OBJECT_DESCRIPTIONCHANGE, m_xAccessible.get());
}