sw/source/core/text/inftxt.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 4d7a98b582dc70bbffc78e6622969e218f108433 Author: Heiko Tietze <heiko.tie...@documentfoundation.org> AuthorDate: Fri Jul 28 14:38:44 2023 +0200 Commit: Heiko Tietze <heiko.tie...@documentfoundation.org> CommitDate: Sun Jul 30 10:52:51 2023 +0200
Related tdf#58434 - Treat ZWSP and WJ as hard space U+200B ZERO WIDTH SPACE and U+2060 WORD JOINER are not highlighted anymore if Formatting Aids > Non-breaking spaces is off Change-Id: Id35fb725bbfa14683ceb31d2043848a66328b364 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155019 Tested-by: Heiko Tietze <heiko.tie...@documentfoundation.org> Reviewed-by: خالد حسني <kha...@libreoffice.org> 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 715780f65269..7544868bc2ee 100644 --- a/sw/source/core/text/inftxt.cxx +++ b/sw/source/core/text/inftxt.cxx @@ -1494,6 +1494,7 @@ void SwTextPaintInfo::DrawViewOpt( const SwLinePortion &rPor, { bDraw = PortionType::Footnote != nWhich || m_pFrame->IsFootnoteAllowed(); } + bDraw &= GetOpt().IsHardBlank(); break; case PortionType::Bookmark: // no shading