sw/source/core/text/inftxt.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 788ebd183b095ffb7369c4d518acd14bad72ae82 Author: Heiko Tietze <tietze.he...@gmail.com> AuthorDate: Wed Jan 31 11:29:14 2024 +0100 Commit: Heiko Tietze <heiko.tie...@documentfoundation.org> CommitDate: Wed Jan 31 15:25:13 2024 +0100 Resolves tdf#159328 - Fix field shading regression Introduced by 4d7a98b582dc70bbffc78e6622969e218f108433 Change-Id: Ibcc057e47c62d53dfa9e6410230c4b231df8551c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162799 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org> diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx index 3d9121ef1ec2..8eced32e8990 100644 --- a/sw/source/core/text/inftxt.cxx +++ b/sw/source/core/text/inftxt.cxx @@ -1426,8 +1426,8 @@ void SwTextPaintInfo::DrawViewOpt( const SwLinePortion &rPor, || m_pFrame->GetTextNodeForParaProps()->HasMarkedLabel())) // #i27615# { bDraw = PortionType::Footnote != nWhich || m_pFrame->IsFootnoteAllowed(); + bDraw &= GetOpt().IsHardBlank(); } - bDraw &= GetOpt().IsHardBlank(); break; case PortionType::Bookmark: // no shading