sw/source/core/text/itrform2.cxx | 2 -- 1 file changed, 2 deletions(-)
New commits: commit c1553cf97e54baecb98c805b19e2913d776a33a7 Author: Khaled Hosny <kha...@aliftype.com> AuthorDate: Wed Dec 7 22:21:09 2022 +0200 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Dec 8 10:32:50 2022 +0000 tdf#152413: Revert "tdf#67669 - Make narrow no-break space visible by drawing ... a gray background" This is breaking text layout involving Narrow No-Break Space because now it goes into a portion of its own and gets laid out independent of the surrounding text. Lets revert this until we have a way to highlight text without breaking text layout (e.g. tdf#61444). This reverts: commit bbb57e8198863ee7bdadd3f2aac4420c08da94a3 Author: Andreas Heinisch <andreas.heini...@yahoo.de> Date: Wed Jul 27 08:53:11 2022 +0200 tdf#67669 - Make narrow no-break space visible by drawing a gray background and its followup commit: commit 01e3c998e63fbf456e7f624adb1cae3d89ed7bb2 Author: Andreas Heinisch <andreas.heini...@yahoo.de> Date: Mon Aug 22 23:02:48 2022 +0200 tdf#67669 - Make narrow no-break space visible by drawing a gray background Change-Id: I040a4f17d51cfea4f1e9bdcd3bc14a3bfc56b245 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143802 Tested-by: Jenkins Reviewed-by: خالد حسني <kha...@aliftype.com> (cherry picked from commit f6935ce552ed625281104a10695de977a131b477) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143720 Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx index e86c8079c8d2..563ddd5c4c02 100644 --- a/sw/source/core/text/itrform2.cxx +++ b/sw/source/core/text/itrform2.cxx @@ -1503,8 +1503,6 @@ SwLinePortion *SwTextFormatter::NewPortion( SwTextFormatInfo &rInf ) case CHAR_SOFTHYPHEN: // soft hyphen pPor = new SwSoftHyphPortion; break; - // tdf#67669 - make narrow no-break space visible by drawing a gray background - case CHAR_NNBSP: // narrow no-break space case CHAR_HARDBLANK: // no-break space // Please check tdf#115067 if you want to edit the char pPor = new SwBlankPortion( cChar ); break;