sw/source/core/text/itrform2.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit bbb57e8198863ee7bdadd3f2aac4420c08da94a3
Author:     Andreas Heinisch <andreas.heini...@yahoo.de>
AuthorDate: Wed Jul 27 08:53:11 2022 +0200
Commit:     Andreas Heinisch <andreas.heini...@yahoo.de>
CommitDate: Wed Jul 27 09:53:56 2022 +0200

    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.heini...@yahoo.de>
    Reviewed-by: Andreas Heinisch <andreas.heini...@yahoo.de>

diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx
index 563ddd5c4c02..e86c8079c8d2 100644
--- a/sw/source/core/text/itrform2.cxx
+++ b/sw/source/core/text/itrform2.cxx
@@ -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;

Reply via email to