summaryrefslogtreecommitdiff
path: root/TEMPLATE.SOURCECODE.HEADER
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-10-30 10:03:33 +0200
committerTomaž Vajngerl <quikee@gmail.com>2021-11-04 12:38:49 +0100
commit8b7dbd220dbdfd286de2d770503dae8bf6d2e53e (patch)
treec280d64752d53af8d9d689dfc7d75c9dd80b11fb /TEMPLATE.SOURCECODE.HEADER
parent4d52e5a013d4315c14b741bb09b40d01b8846df7 (diff)
sw: Wrong ZOrder after import for images anchored to non-1nd page
Importing a document that has images anchored to the non-1st page, can result in images having the wrong the wrong Z index (ZOrder). If there are overlapping objects in the document, this can become a problem. The issue is with the call to SwRootFrame::RemoveMasterObjs, which removed the "master objects" - SwFlyDrawObj* castable objects. Normally the SwFlyDrawObj* objects on the page are wrapped and replaced by SwVirtFlyDrawObj*, but when the call to the RemoveMasterObjs was made, this hasn't happen yet to all the objects (objects that were not on the 1st page). The fix is to move the RemoveMasterObjs call to a different place, where we processed all the pages, so we can safely remove the remaining master objects on the page. Change-Id: I7d2f31614d269c22a82e7e5dea960f3d0844a5d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124597 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'TEMPLATE.SOURCECODE.HEADER')
0 files changed, 0 insertions, 0 deletions