sw/source/core/layout/fly.cxx | 10 ---------- 1 file changed, 10 deletions(-)
New commits: commit c402d5c0a5a7cdb71823cf7f02f115f41d3e25d2 Author: Oliver Specht <[email protected]> AuthorDate: Tue Mar 4 15:53:01 2025 +0100 Commit: Thorsten Behrens <[email protected]> CommitDate: Sat Mar 8 15:00:06 2025 +0100 tdf#165064 fix regression from tdf#161233 Change-Id: I07953d4569542774c8012b879f3894e7da61e0ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182488 Tested-by: allotropia jenkins <[email protected]> Reviewed-by: Thorsten Behrens <[email protected]> diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx index b2431dc91ea9..1b261fb1f1d6 100644 --- a/sw/source/core/layout/fly.cxx +++ b/sw/source/core/layout/fly.cxx @@ -443,16 +443,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 ); }
