summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorheiko tietze <tietze.heiko@gmail.com>2019-01-23 10:20:23 +0100
committerHeiko Tietze <tietze.heiko@gmail.com>2019-02-18 12:27:20 +0100
commit16bd9c99b8116f36e4f0825860e699d79cdf0d58 (patch)
treede7d4e3c183571d73a01bf7c0a5864ccb52b9e49 /sc/source/ui
parent47819ba0534ce1893d5cb835c98147feacdf9faf (diff)
Resolves tdf#121596 - Include a key combination to insert thin spaces
uno:InsertNarrowNobreakSpace/ FN_INSERT_NNBSP added and asigned to shift+alt+space Change-Id: I20dd4159bc35ee378bee75af9734b1f25dfd8b1a Reviewed-on: https://gerrit.libreoffice.org/66776 Tested-by: Jenkins Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/view/editsh.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index d815cb19090d..1ca775cc4fb9 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -631,6 +631,9 @@ void ScEditShell::Execute( SfxRequest& rReq )
case FN_INSERT_HARD_SPACE:
lclInsertCharacter( pTableView, pTopView, CHAR_NBSP );
break;
+ case FN_INSERT_NNBSP:
+ lclInsertCharacter( pTableView, pTopView, CHAR_NNBSP );
+ break;
case SID_INSERT_RLM:
lclInsertCharacter( pTableView, pTopView, CHAR_RLM );
break;