sw/source/core/layout/paintfrm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 492ae0bd5a9508cc4395f2c82bb16d9b8efc87f5 Author: Mohit Marathe <mohit.marathe.ext...@allotropia.de> AuthorDate: Sat May 24 11:41:08 2025 +0530 Commit: Mohit Marathe <mohit.marathe.ext...@allotropia.de> CommitDate: Thu May 29 06:34:30 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 <michael.st...@allotropia.de> (cherry picked from commit e887210914951b7b3f72dac5609fb12e4c3319f5) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185778 (cherry picked from commit 0952960b41f4e89548b00399fbc3b9001ea67e59) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185962 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> Tested-by: Mohit Marathe <mohit.marathe.ext...@allotropia.de> Reviewed-by: Mohit Marathe <mohit.marathe.ext...@allotropia.de> 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; }