sw/source/core/text/inftxt.cxx |    1 +
 sw/source/core/text/porfld.cxx |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 01e3c998e63fbf456e7f624adb1cae3d89ed7bb2
Author:     Andreas Heinisch <andreas.heini...@yahoo.de>
AuthorDate: Mon Aug 22 23:02:48 2022 +0200
Commit:     Andreas Heinisch <andreas.heini...@yahoo.de>
CommitDate: Tue Aug 23 09:34:07 2022 +0200

    tdf#67669 - Make narrow no-break space visible by drawing a gray background
    
    Change-Id: I7a80fe6ceab6b3693241db4fda77ce6712624321
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138710
    Tested-by: Jenkins
    Reviewed-by: Andreas Heinisch <andreas.heini...@yahoo.de>

diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index c3a5068b3cf9..61a53c0aab76 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -1674,6 +1674,7 @@ TextFrameIndex 
SwTextFormatInfo::ScanPortionEnd(TextFrameIndex const nStart,
 
         case CHAR_SOFTHYPHEN:
         case CHAR_HARDHYPHEN:
+        case CHAR_NNBSP:
         case CHAR_HARDBLANK:
         case CH_TAB:
         case CH_BREAK:
diff --git a/sw/source/core/text/porfld.cxx b/sw/source/core/text/porfld.cxx
index fe9127c58839..5ff64ae48845 100644
--- a/sw/source/core/text/porfld.cxx
+++ b/sw/source/core/text/porfld.cxx
@@ -398,6 +398,7 @@ bool SwFieldPortion::Format( SwTextFormatInfo &rInf )
                 case CH_TAB    :
                 case CHAR_HARDHYPHEN:               // non-breaking hyphen
                 case CHAR_SOFTHYPHEN:
+                case CHAR_NNBSP:
                 case CHAR_HARDBLANK:
                 case CHAR_ZWSP :
                 case CHAR_WJ :

Reply via email to