sw/source/core/text/pormulti.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 755210c38dcb72a56aa7aacb9b52246a63dae687
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Wed Nov 1 18:55:53 2023 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Thu Nov 2 10:48:01 2023 +0100

    sw: PDF/UA export: produce Link SEs for RTL text
    
    This is a SwBidiPortion containing a nested SwLineLayout containing
    SwLinePortions for the link or text, and only the SwBidiPortion had a
    tag helper, so add one for the inner portion too. (Apparently this
    never worked before.)
    
    Change-Id: I803191dafe101a42e4dbe1c0167411c2f1f76a2f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158773
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index 07453a4b1fcb..67cd13af4d6d 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -1778,7 +1778,12 @@ void SwTextPainter::PaintMultiPortion( const SwRect 
&rPaint,
             PaintMultiPortion( rPaint, static_cast<SwMultiPortion&>(*pPor), 
&rMulti );
         }
         else
+        {
+            Por_Info const por(*pPor, *this, 0);
+            SwTaggedPDFHelper const tag(nullptr, nullptr, &por, 
*GetInfo().GetOut());
+
             pPor->Paint( GetInfo() );
+        }
 
         bFirst &= !pPor->GetLen();
         if( pNext || !pPor->IsMarginPortion() )

Reply via email to