sw/source/core/layout/paintfrm.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0952960b41f4e89548b00399fbc3b9001ea67e59
Author:     Mohit Marathe <[email protected]>
AuthorDate: Sat May 24 11:41:08 2025 +0530
Commit:     Michael Stahl <[email protected]>
CommitDate: Wed May 28 10:07:17 2025 +0200

    tdf#166517 paint borders of frame with zero print area
    
    allow painting borders when text frame in the cell is hidden, but
    the cell is not hidden
    
    (regression from commit 08007b5f0ab0538bb907b99770938bb9f10dba20)
    
    Change-Id: Idc1810d95d6d32a3a9b09486a1581614b5546434
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185728
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <[email protected]>
    (cherry picked from commit e887210914951b7b3f72dac5609fb12e4c3319f5)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185778

diff --git a/sw/source/core/layout/paintfrm.cxx 
b/sw/source/core/layout/paintfrm.cxx
index 68486df83780..e73ab2b58eee 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -5505,7 +5505,7 @@ void SwFrame::PaintSwFrameShadowAndBorder(
             return;
     }
 
-    if (!getFramePrintArea().HasArea())
+    if (!getFrameArea().HasArea())
     { // hidden text frame, may be called by upper from 
PaintSwFrameBackground()
         return;
     }

Reply via email to