summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/drwtxtsh.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-03-06 10:47:39 +0100
committerJulien Nabet <serval2412@yahoo.fr>2021-03-08 08:57:23 +0100
commitb1cbc2e27a5a5434ca8097fa7586912cf0b857c4 (patch)
treeb2a2c7a273f5d4c9a0992225dfb7a610eda006e4 /sw/source/uibase/shells/drwtxtsh.cxx
parent486258be7950e06cacbb3ae403129b57e3625995 (diff)
tdf#140796: Wrong English string for U+2060 character
Rename "No-width No ~Break" to "Word ~Joiner" + replace pattern "ZWNBSP" variable names by "WJ" Change-Id: I95a874a9d2d20a30d2c4c3add6041adbe72d872c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112055 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/uibase/shells/drwtxtsh.cxx')
-rw-r--r--sw/source/uibase/shells/drwtxtsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/drwtxtsh.cxx b/sw/source/uibase/shells/drwtxtsh.cxx
index f8e34eabde29..172d04fd2cc2 100644
--- a/sw/source/uibase/shells/drwtxtsh.cxx
+++ b/sw/source/uibase/shells/drwtxtsh.cxx
@@ -363,7 +363,7 @@ void SwDrawTextShell::ExecDraw(SfxRequest &rReq)
case FN_INSERT_NNBSP:
case SID_INSERT_RLM :
case SID_INSERT_LRM :
- case SID_INSERT_ZWNBSP :
+ case SID_INSERT_WJ :
case SID_INSERT_ZWSP:
{
sal_Unicode cIns = 0;
@@ -376,7 +376,7 @@ void SwDrawTextShell::ExecDraw(SfxRequest &rReq)
case SID_INSERT_RLM : cIns = CHAR_RLM ; break;
case SID_INSERT_LRM : cIns = CHAR_LRM ; break;
case SID_INSERT_ZWSP : cIns = CHAR_ZWSP ; break;
- case SID_INSERT_ZWNBSP: cIns = CHAR_ZWNBSP; break;
+ case SID_INSERT_WJ: cIns = CHAR_WJ; break;
}
pOLV->InsertText( OUString(cIns));
rReq.Done();