From d48e05425055e16c28556aefd15838ae7461ec66 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 26 Jan 2016 16:45:51 +0100 Subject: -Werror,-Wunused-parameter (clang-cl) Change-Id: I1ac58714e04b995ef5229888f0c427104c001318 --- winaccessibility/source/service/AccComponentEventListener.cxx | 6 +++--- winaccessibility/source/service/AccContainerEventListener.cxx | 4 ++-- winaccessibility/source/service/AccListEventListener.cxx | 2 +- winaccessibility/source/service/AccParagraphEventListener.cxx | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'winaccessibility') diff --git a/winaccessibility/source/service/AccComponentEventListener.cxx b/winaccessibility/source/service/AccComponentEventListener.cxx index 22fa47d63317..39fb61103cf7 100644 --- a/winaccessibility/source/service/AccComponentEventListener.cxx +++ b/winaccessibility/source/service/AccComponentEventListener.cxx @@ -91,7 +91,7 @@ throw (css::uno::RuntimeException) * @param oldValue the old value of the source of event * @param newValue the new value of the source of event */ -void AccComponentEventListener::HandleValueChangedEvent(Any oldValue, Any newValue) +void AccComponentEventListener::HandleValueChangedEvent(Any, Any) { pAgent->UpdateValue(m_xAccessible.get()); pAgent->NotifyAccEvent(UM_EVENT_OBJECT_VALUECHANGE, m_xAccessible.get()); @@ -112,7 +112,7 @@ void AccComponentEventListener::HandleActionChangedEvent() * @param oldValue the old value of the source of event * @param newValue the new value of the source of event */ -void AccComponentEventListener::HandleTextChangedEvent(Any oldValue, Any newValue) +void AccComponentEventListener::HandleTextChangedEvent(Any, Any newValue) { pAgent->UpdateValue(m_xAccessible.get(), newValue); pAgent->NotifyAccEvent(UM_EVENT_OBJECT_VALUECHANGE, m_xAccessible.get()); @@ -124,7 +124,7 @@ void AccComponentEventListener::HandleTextChangedEvent(Any oldValue, Any newValu * @param oldValue the old value of the source of event * @param newValue the new value of the source of event */ -void AccComponentEventListener::HandleCaretChangedEvent(Any oldValue, Any newValue) +void AccComponentEventListener::HandleCaretChangedEvent(Any, Any) { pAgent->NotifyAccEvent(UM_EVENT_OBJECT_CARETCHANGE, m_xAccessible.get()); } diff --git a/winaccessibility/source/service/AccContainerEventListener.cxx b/winaccessibility/source/service/AccContainerEventListener.cxx index f882ea49ccf9..194bf3ed0424 100644 --- a/winaccessibility/source/service/AccContainerEventListener.cxx +++ b/winaccessibility/source/service/AccContainerEventListener.cxx @@ -195,7 +195,7 @@ void AccContainerEventListener::HandleAllChildrenChangedEvent() /** * handle the TEXT_CHANGED event */ -void AccContainerEventListener::HandleTextChangedEvent(Any oldValue, Any newValue) +void AccContainerEventListener::HandleTextChangedEvent(Any, Any newValue) { pAgent->UpdateValue(m_xAccessible.get(), newValue); pAgent->NotifyAccEvent(UM_EVENT_OBJECT_TEXTCHANGE, m_xAccessible.get()); @@ -421,7 +421,7 @@ void AccContainerEventListener::FireStateFocusedChange(bool enable) * @param oldValue the old value of the source of event * @param newValue the new value of the source of event */ -void AccContainerEventListener::HandleValueChangedEvent(Any oldValue, Any newValue) +void AccContainerEventListener::HandleValueChangedEvent(Any, Any) { pAgent->UpdateValue(m_xAccessible.get()); pAgent->NotifyAccEvent(UM_EVENT_OBJECT_VALUECHANGE, m_xAccessible.get()); diff --git a/winaccessibility/source/service/AccListEventListener.cxx b/winaccessibility/source/service/AccListEventListener.cxx index 6e887065025a..9557bfbd3093 100644 --- a/winaccessibility/source/service/AccListEventListener.cxx +++ b/winaccessibility/source/service/AccListEventListener.cxx @@ -111,7 +111,7 @@ void AccListEventListener::HandleActiveDescendantChangedEvent(Any oldValue, Any * @param oldValue the old value of the source of event * @param newValue the new value of the source of event */ -void AccListEventListener::HandleValueChangedEvent(Any oldValue, Any newValue) +void AccListEventListener::HandleValueChangedEvent(Any, Any) { //to enable value changed event if (GetParentRole() == AccessibleRole::COMBO_BOX) diff --git a/winaccessibility/source/service/AccParagraphEventListener.cxx b/winaccessibility/source/service/AccParagraphEventListener.cxx index 9d064c220b08..e9d5668b2a3a 100644 --- a/winaccessibility/source/service/AccParagraphEventListener.cxx +++ b/winaccessibility/source/service/AccParagraphEventListener.cxx @@ -93,7 +93,7 @@ throw (css::uno::RuntimeException) * @param oldValue in UNO, this parameter is always NULL * @param newValue in UNO, this parameter is always NULL */ -void AccParagraphEventListener::HandleCaretChangedEvent(Any oldValue, Any newValue) +void AccParagraphEventListener::HandleCaretChangedEvent(Any, Any) { pAgent->UpdateLocation(m_xAccessible.get()); pAgent->NotifyAccEvent(UM_EVENT_OBJECT_CARETCHANGE, m_xAccessible.get()); -- cgit