sw/source/core/layout/fly.cxx | 10 ---------- 1 file changed, 10 deletions(-)
New commits: commit bf557f6c181578e1e89f63e502aae3eed1880af1 Author: Oliver Specht <oliver.spe...@cib.de> AuthorDate: Tue Mar 4 15:53:01 2025 +0100 Commit: Thorsten Behrens <thorsten.behr...@allotropia.de> CommitDate: Sat Mar 8 14:59:53 2025 +0100 tdf#165064 fix regression from tdf#161233 Change-Id: I07953d4569542774c8012b879f3894e7da61e0ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182487 Tested-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de> Tested-by: Jenkins diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx index b16b0fe86814..744e9631e409 100644 --- a/sw/source/core/layout/fly.cxx +++ b/sw/source/core/layout/fly.cxx @@ -444,16 +444,6 @@ void SwFlyFrame::InitDrawObj(SwFrame& rAnchorFrame) if (!rAnchorFrame.FindFooterOrHeader()) nHellId = rIDDMA.GetHeaderFooterHellId(); } - bool bNoClippingWithWrapPolygon = rIDSA.get(DocumentSettingId::NO_CLIPPING_WITH_WRAP_POLYGON); - if (bNoClippingWithWrapPolygon && isOpaque) - { - if (GetFrameFormat()->GetSurround().IsContour()) - { - GetVirtDrawObj()->SetLayer(nHellId); - return; - } - - } GetVirtDrawObj()->SetLayer( isOpaque ? nHeavenId :nHellId ); }