summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-06 14:55:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-06 22:03:37 +0200
commitf0886f4e7654078bd053c8d400b682171aff850b (patch)
tree2c98dee57e0d47f7eaad1157404e9f6b7e070e9f /svx
parent30251adb962f55c6486c491691015fc07052d069 (diff)
coverity#1435443 Arguments in wrong order
and coverity#1435439 Arguments in wrong order coverity#1435437 Arguments in wrong order Change-Id: I8dc4166640613ce25c9d01624d607568e42edac9 Reviewed-on: https://gerrit.libreoffice.org/53915 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/svxrectctaccessiblecontext.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/accessibility/svxrectctaccessiblecontext.cxx b/svx/source/accessibility/svxrectctaccessiblecontext.cxx
index e6c0959d20d3..62ae619a6c00 100644
--- a/svx/source/accessibility/svxrectctaccessiblecontext.cxx
+++ b/svx/source/accessibility/svxrectctaccessiblecontext.cxx
@@ -851,7 +851,7 @@ void RectCtlAccessibleContext::FireChildFocus( RectPoint eButton )
Any aOld;
Any aNew;
aNew <<= AccessibleStateType::FOCUSED;
- NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aNew, aOld);
+ NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aOld, aNew);
}
}
else
@@ -1545,11 +1545,11 @@ void RectCtlChildAccessibleContext::setStateChecked( bool bChecked )
//Send the STATE_CHANGED(Focused) event to accessible
rMod <<= AccessibleStateType::FOCUSED;
- NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aNew, aOld);
+ NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aOld, aNew);
rMod <<= AccessibleStateType::CHECKED;
- NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aNew, aOld);
+ NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aOld, aNew);
}
}
@@ -1558,7 +1558,7 @@ void RectCtlChildAccessibleContext::FireFocusEvent()
Any aOld;
Any aNew;
aNew <<= AccessibleStateType::FOCUSED;
- NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aNew, aOld);
+ NotifyAccessibleEvent(AccessibleEventId::STATE_CHANGED, aOld, aNew);
}
IMPLEMENT_FORWARD_XINTERFACE2( RectCtlChildAccessibleContext, OAccessibleComponentHelper, OAccessibleHelper_Base_3 )