summaryrefslogtreecommitdiff
path: root/winaccessibility/source/service
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-03 14:04:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-03 14:04:30 +0200
commit015269478d77da29dd21e35348d7296fbf4ad903 (patch)
treee981d4ddf8fdd29bd919f4f89aa536925b57eb92 /winaccessibility/source/service
parentd6b625058404cfc0bbccf8180c27419812f8d7ba (diff)
loplugin:oncevar (clang-cl): winaccessibility
Change-Id: I26dca32ba03c7fe163886ebcd4a6a8bc4871b065
Diffstat (limited to 'winaccessibility/source/service')
-rw-r--r--winaccessibility/source/service/AccContainerEventListener.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/winaccessibility/source/service/AccContainerEventListener.cxx b/winaccessibility/source/service/AccContainerEventListener.cxx
index b26ee70fd85a..f275eafcf51f 100644
--- a/winaccessibility/source/service/AccContainerEventListener.cxx
+++ b/winaccessibility/source/service/AccContainerEventListener.cxx
@@ -429,7 +429,6 @@ void AccContainerEventListener::HandleValueChangedEvent(Any, Any)
bool AccContainerEventListener::IsEditable(Reference<XAccessibleContext> const & xContext)
{
- bool ret = false;
Reference< XAccessibleStateSet > pRState = xContext->getAccessibleStateSet();
if( !pRState.is() )
return false;
@@ -441,7 +440,7 @@ bool AccContainerEventListener::IsEditable(Reference<XAccessibleContext> const &
if(pStates[iIndex] == AccessibleStateType::EDITABLE)
return true;
}
- return ret;
+ return false;
}
bool AccContainerEventListener::NotifyChildEvent(short nWinEvent,const Any &Value)