sw/source/core/layout/paintfrm.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit e9ca8fb1af1e3d41160c13e8002f05a610a0bd0b Author: Michael Stahl <michael.st...@allotropia.de> AuthorDate: Fri Oct 20 17:33:42 2023 +0200 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Mon Oct 23 12:56:17 2023 +0200 tdf#157145 sw: PDF/UA export: tag borders as Artifacts (probably regression from commit 804d0a896731629397c5328c13c04a45bc55f459 moving the ProcessPrimitives to SwRootFrame::PaintSwFrame()) Change-Id: I4015ffe6566c94e9f3b3694d39e0c24797cb9039 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158266 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index d66af6331c93..e9ba79f92e50 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -3515,7 +3515,10 @@ void SwRootFrame::PaintSwFrame(vcl::RenderContext& rRenderContext, SwRect const& // fdo#42750: delay painting these until after subsidiary lines // fdo#45562: delay painting these until after hell layer // fdo#47717: but do it before heaven layer - ProcessPrimitives(gProp.pBLines->GetBorderLines_Clear()); + { + SwTaggedPDFHelper tag(nullptr, nullptr, nullptr, rRenderContext); + ProcessPrimitives(gProp.pBLines->GetBorderLines_Clear()); + } if ( pSh->Imp()->HasDrawView() ) {