bool improvements
Change-Id: Ibf171ce82595a135c544fcf31c666e384e1fbd26
This commit is contained in:
@@ -215,7 +215,7 @@ namespace DOM { namespace events {
|
|||||||
{
|
{
|
||||||
pEvent->m_currentTarget = rinode->first;
|
pEvent->m_currentTarget = rinode->first;
|
||||||
callListeners(captureListeners, rinode->second, aType, xEvent);
|
callListeners(captureListeners, rinode->second, aType, xEvent);
|
||||||
if (pEvent->m_canceled) return sal_True;
|
if (pEvent->m_canceled) return true;
|
||||||
++rinode;
|
++rinode;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -225,7 +225,7 @@ namespace DOM { namespace events {
|
|||||||
pEvent->m_phase = PhaseType_AT_TARGET;
|
pEvent->m_phase = PhaseType_AT_TARGET;
|
||||||
pEvent->m_currentTarget = inode->first;
|
pEvent->m_currentTarget = inode->first;
|
||||||
callListeners(targetListeners, inode->second, aType, xEvent);
|
callListeners(targetListeners, inode->second, aType, xEvent);
|
||||||
if (pEvent->m_canceled) return sal_True;
|
if (pEvent->m_canceled) return true;
|
||||||
// bubbeling phase
|
// bubbeling phase
|
||||||
++inode;
|
++inode;
|
||||||
if (i_xEvent->getBubbles()) {
|
if (i_xEvent->getBubbles()) {
|
||||||
@@ -235,12 +235,12 @@ namespace DOM { namespace events {
|
|||||||
pEvent->m_currentTarget = inode->first;
|
pEvent->m_currentTarget = inode->first;
|
||||||
callListeners(targetListeners,
|
callListeners(targetListeners,
|
||||||
inode->second, aType, xEvent);
|
inode->second, aType, xEvent);
|
||||||
if (pEvent->m_canceled) return sal_True;
|
if (pEvent->m_canceled) return true;
|
||||||
++inode;
|
++inode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return sal_True;
|
return true;
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user