diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-05-05 20:50:57 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-05-05 22:02:13 +0300 |
commit | 09f8760e7d84a5f64b68760d7dc630cab1048c06 (patch) | |
tree | cb8f5d58b0d602277107d5e663bc322f774aed9e /vcl | |
parent | 2fd90ea3e2e59d8a3474dd8ec085c99b85248d27 (diff) |
GetKeyName for KEY_{TILDE,BRACKET{LEFT,RIGHT},SEMICOLON,QUOTERIGHT}
Change-Id: Id320bc41fefff17035c8a30115dc94af5cbf9503
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/osx/salframe.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx index 3bb8128a8010..35fa7236f5fe 100644 --- a/vcl/osx/salframe.cxx +++ b/vcl/osx/salframe.cxx @@ -1018,6 +1018,11 @@ OUString AquaSalFrame::GetKeyName( sal_uInt16 nKeyCode ) aKeyMap[ KEY_GREATER ] = OUString( '>' ); aKeyMap[ KEY_EQUAL ] = OUString( '=' ); aKeyMap[ KEY_OPEN ] = OUString( sal_Unicode( 0x23cf ) ); + aKeyMap[ KEY_TILDE ] = OUString( '~' ); + aKeyMap[ KEY_BRACKETLEFT ] = OUString( '[' ); + aKeyMap[ KEY_BRACKETRIGHT ] = OUString( '}' ); + aKeyMap[ KEY_SEMICOLON ] = OUString( ';' ); + aKeyMap[ KEY_QUOTERIGHT ] = OUString( '\'' ); /* yet unmapped KEYCODES: aKeyMap[ KEY_INSERT ] = OUString( sal_Unicode( ) ); @@ -1034,12 +1039,7 @@ OUString AquaSalFrame::GetKeyName( sal_uInt16 nKeyCode ) aKeyMap[ KEY_HELP ] = OUString( sal_Unicode( ) ); aKeyMap[ KEY_HANGUL_HANJA ] = OUString( sal_Unicode( ) ); aKeyMap[ KEY_DECIMAL ] = OUString( sal_Unicode( ) ); - aKeyMap[ KEY_TILDE ] = OUString( sal_Unicode( ) ); aKeyMap[ KEY_QUOTELEFT ]= OUString( sal_Unicode( ) ); - aKeyMap[ KEY_BRACKETLEFT ]= OUString( sal_Unicode( ) ); - aKeyMap[ KEY_BRACKETRIGHT ]= OUString( sal_Unicode( ) ); - aKeyMap[ KEY_SEMICOLON ]= OUString( sal_Unicode( ) ); - aKeyMap[ KEY_QUOTERIGHT ]= OUString( sal_Unicode( ) ); aKeyMap[ KEY_CAPSLOCK ]= OUString( sal_Unicode( ) ); aKeyMap[ KEY_NUMLOCK ]= OUString( sal_Unicode( ) ); aKeyMap[ KEY_SCROLLLOCK ]= OUString( sal_Unicode( ) ); |