sw/source/core/layout/paintfrm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e887210914951b7b3f72dac5609fb12e4c3319f5 Author: Mohit Marathe <mohit.marathe.ext...@allotropia.de> AuthorDate: Sat May 24 11:41:08 2025 +0530 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Mon May 26 09:15:56 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> diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index be1700419be8..9b10b6c52279 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -5529,7 +5529,7 @@ void SwFrame::PaintSwFrameShadowAndBorder( return; } - if (!getFramePrintArea().HasArea()) + if (!getFrameArea().HasArea()) { // hidden text frame, may be called by upper from PaintSwFrameBackground() return; }