summaryrefslogtreecommitdiff
path: root/sw/source/core/text/inftxt.cxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@aliftype.com>2022-12-07 22:21:09 +0200
committerخالد حسني <khaled@aliftype.com>2022-12-07 23:30:55 +0000
commitf6935ce552ed625281104a10695de977a131b477 (patch)
treef6fb8905c0ae016c7db2686fe66e55225a6f6d31 /sw/source/core/text/inftxt.cxx
parentd327a3bf45808fc7575b7fffa681314e50b0adf8 (diff)
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.heinisch@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.heinisch@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: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'sw/source/core/text/inftxt.cxx')
-rw-r--r--sw/source/core/text/inftxt.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index bdb40ac74d01..737b6b3b2700 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -1678,7 +1678,6 @@ TextFrameIndex SwTextFormatInfo::ScanPortionEnd(TextFrameIndex const nStart,
case CHAR_SOFTHYPHEN:
case CHAR_HARDHYPHEN:
- case CHAR_NNBSP:
case CHAR_HARDBLANK:
case CH_TAB:
case CH_BREAK: