summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-03-09 20:21:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-03-10 10:02:52 +0100
commitbd7f647b16ca2c5f9ef7d4b0945201c4f2ecebad (patch)
tree8388398d4d12b21e50a59845cafae53f1399454c /vcl
parenta11c10a83f6fceae6cfb519725d06f8eaf1013fb (diff)
add asterisk<->KEY_MULTIPLY mapping
Change-Id: I4d5a776ed1fa72beece47652cf9e012d65388ea6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90242 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/builder.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 6291fd4226a1..f9329cbecc52 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -3632,6 +3632,8 @@ namespace
return vcl::KeyCode(KEY_LEFT, bShift, bMod1, bMod2, bMod3);
else if (rKey.first == "Right")
return vcl::KeyCode(KEY_RIGHT, bShift, bMod1, bMod2, bMod3);
+ else if (rKey.first == "asterisk")
+ return vcl::KeyCode(KEY_MULTIPLY, bShift, bMod1, bMod2, bMod3);
assert (rKey.first.getLength() == 1);
char cChar = rKey.first.toChar();