summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2023-10-20 17:33:42 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2023-10-24 23:56:06 +0200
commit7ac1eada88ff81830bb0d36cda4a902084b5f8d9 (patch)
tree1fd11f40dd62ba33398e86c6adef679fc6980b3d /sw
parent4a81d6168a81ce0a0e7fdd2af852d88c49fc8656 (diff)
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.stahl@allotropia.de> (cherry picked from commit e9ca8fb1af1e3d41160c13e8002f05a610a0bd0b) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158281 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/paintfrm.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index bd07aa9e1675..8242a99634f2 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -3514,7 +3514,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() )
{