bool improvements

Change-Id: Ibf171ce82595a135c544fcf31c666e384e1fbd26
This commit is contained in:
Stephan Bergmann
2014-01-28 19:59:32 +01:00
parent 6f9976db93
commit eb75ea239b

View File

@@ -215,7 +215,7 @@ namespace DOM { namespace events {
{
pEvent->m_currentTarget = rinode->first;
callListeners(captureListeners, rinode->second, aType, xEvent);
if (pEvent->m_canceled) return sal_True;
if (pEvent->m_canceled) return true;
++rinode;
}
@@ -225,7 +225,7 @@ namespace DOM { namespace events {
pEvent->m_phase = PhaseType_AT_TARGET;
pEvent->m_currentTarget = inode->first;
callListeners(targetListeners, inode->second, aType, xEvent);
if (pEvent->m_canceled) return sal_True;
if (pEvent->m_canceled) return true;
// bubbeling phase
++inode;
if (i_xEvent->getBubbles()) {
@@ -235,12 +235,12 @@ namespace DOM { namespace events {
pEvent->m_currentTarget = inode->first;
callListeners(targetListeners,
inode->second, aType, xEvent);
if (pEvent->m_canceled) return sal_True;
if (pEvent->m_canceled) return true;
++inode;
}
}
}
return sal_True;
return true;
}
}}