summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/sdxmlexp_impl.hxx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2021-01-28 06:11:33 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2021-01-28 15:20:55 +0100
commitdbac52a2b56337c2086a18bf6cf3ebe6ac0c785e (patch)
tree1800cca808cf4701c500034f31c8a9a5284752ac /xmloff/source/draw/sdxmlexp_impl.hxx
parentf974f3941ce593005a99d75f3ef0307000313235 (diff)
WIN refactor ImplSalYield
While looking for some reason for multiple ABORTED Jenkins runs, presumely due to unprocessed Idles, I found the ImplSalYield code way too hard to follow, so this restructures the PeekMessage loop and adds some better comments to make that easier. We now bail out a bit earlier in m_nNoYieldLock mode and also account for eventual tick wraps in single message mode, which isn't needed, as we already just process one message, but it removes additional conditions and further simplifies the code. We also now explicitly report GetMessageW non-message return codes. Change-Id: Ibd745d5540dd9998570ece9aeb0d37886b627eb7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110042 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'xmloff/source/draw/sdxmlexp_impl.hxx')
0 files changed, 0 insertions, 0 deletions