editeng/source/editeng/impedit3.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 30aa4781ccfe19c5e9b4646b5f7e2d4a68be3ab9
Author:     Attila Szűcs <[email protected]>
AuthorDate: Mon Feb 16 11:10:53 2026 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Fri Feb 20 10:47:35 2026 +0100

    tdf#159861 editeng: fix display at multiline hyperlinks
    
    Paint multiple line of hyperlink even when not stripping portions.
    Non-Strip portion way of render is planned to removed, it is already
    removed from master.
    It is rarely used, but in case of useing LOK, it was still used,
    so that is why this PR still needed in some branches.
    
    Change-Id: I647a473563202c3777bd83b9c321191969166f5d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199463
    Reviewed-by: Stephan Bergmann <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/editeng/source/editeng/impedit3.cxx 
b/editeng/source/editeng/impedit3.cxx
index 27623b8b4a6d..41e505ae496a 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -3602,7 +3602,7 @@ void ImpEditEngine::Paint( OutputDevice& rOutDev, 
tools::Rectangle aClipRect, Po
                                     //It is not perfect, it still use 
lineBreaksList, so it won’t seek
                                     //word ends to wrap text there, but it 
would be difficult to change
                                     //this due to needed adaptations in 
EditEngine
-                                    if (bStripOnly && !bParsingFields && 
pExtraInfo && !pExtraInfo->lineBreaksList.empty())
+                                    if (!bParsingFields && pExtraInfo && 
!pExtraInfo->lineBreaksList.empty())
                                     {
                                         bParsingFields = true;
                                         itSubLines = 
pExtraInfo->lineBreaksList.begin();

Reply via email to