Kaydet (Commit) e52758fe authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1242517 Arguments in wrong order (gold ?)

Looks like they are backwards to me

Change-Id: I20f38050172c1671a81d6ab7de80123ad1703528
üst 13a5c3a3
...@@ -92,7 +92,7 @@ namespace accessibility ...@@ -92,7 +92,7 @@ namespace accessibility
Any aOldValue, aNewValue; Any aOldValue, aNewValue;
aOldValue <<= rOldName; aOldValue <<= rOldName;
aNewValue <<= rNewName; aNewValue <<= rNewName;
commitEvent( AccessibleEventId::NAME_CHANGED, aOldValue, aNewValue ); commitEvent( AccessibleEventId::NAME_CHANGED, aNewValue, aOldValue );
} }
// XInterface ------------------------------------------------------------- // XInterface -------------------------------------------------------------
......
...@@ -235,7 +235,7 @@ namespace accessibility ...@@ -235,7 +235,7 @@ namespace accessibility
{ {
AccessibleCheckBoxCell* pCell = AccessibleCheckBoxCell* pCell =
static_cast< AccessibleCheckBoxCell* >( xChild.get() ); static_cast< AccessibleCheckBoxCell* >( xChild.get() );
pCell->commitEvent( AccessibleEventId::NAME_CHANGED, aOldValue, aNewValue ); pCell->commitEvent( AccessibleEventId::NAME_CHANGED, aNewValue, aOldValue );
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment