summaryrefslogtreecommitdiff
path: root/unoxml/IwyuFilter_unoxml.yaml
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-10 09:16:45 +0100
commit5f90820949ed208b5b46bcb4ba3cd08d2783ae4f (patch)
tree1107d8d566d86abcfb03cc23fb6176eca34ac86a /unoxml/IwyuFilter_unoxml.yaml
parentb8e0b887efb35b0afd85b81349d5f8e2f7d1c359 (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> (cherry picked from commit 8b7dbd220dbdfd286de2d770503dae8bf6d2e53e) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124686 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'unoxml/IwyuFilter_unoxml.yaml')
0 files changed, 0 insertions, 0 deletions