tdf#67669 - Make narrow no-break space visible by drawing a gray background

Make narrow no-break space visible by drawing a gray background like for non-breaking spaces.

Change-Id: I3f2b4374a08ea8305c8c84eb497bc362866ad352
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137490
Tested-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
This commit is contained in:
Andreas Heinisch 2022-07-27 08:53:11 +02:00
parent b9d360405a
commit bbb57e8198

View file

@ -1503,6 +1503,8 @@ 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;