summaryrefslogtreecommitdiff
path: root/include/vcl/keycodes.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-19 17:45:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-20 10:45:48 +0100
commitfc528a468061e165ee29f0ca450245331da3ef93 (patch)
tree150188c8939379c0134cc827ad94e2225cb8d4a8 /include/vcl/keycodes.hxx
parent0b87fdcad55d1927241073bc15c174168c5e0c1d (diff)
More loplugin:cstylecast on macOS
Automatic rewrite (of loplugin:cstylecast and loplugin:unnecessaryparen) after cab0427cadddb3aaf1349c66f2fa13a4234ba4b2 "Enable loplugin:cstylecast for some more cases" and a409d32e7f6fc09e041079d6dbc3c927497adfed "More loplugin:cstylecast" Change-Id: Iff4877e8a42804c952c48c13332caf0a83c92870 Reviewed-on: https://gerrit.libreoffice.org/48216 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/vcl/keycodes.hxx')
-rw-r--r--include/vcl/keycodes.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/keycodes.hxx b/include/vcl/keycodes.hxx
index a46373d55e68..a17da6f95bd4 100644
--- a/include/vcl/keycodes.hxx
+++ b/include/vcl/keycodes.hxx
@@ -97,14 +97,14 @@
#define KEY_F15 (sal_uInt16(css::awt::Key::F15))
#define KEY_F16 (sal_uInt16(css::awt::Key::F16))
#define KEY_F17 (sal_uInt16(css::awt::Key::F17))
-#define KEY_F18 ((sal_uInt16)css::awt::Key::F18)
+#define KEY_F18 (sal_uInt16(css::awt::Key::F18))
#define KEY_F19 (sal_uInt16(css::awt::Key::F19))
-#define KEY_F20 ((sal_uInt16)css::awt::Key::F20)
-#define KEY_F21 ((sal_uInt16)css::awt::Key::F21)
-#define KEY_F22 ((sal_uInt16)css::awt::Key::F22)
-#define KEY_F23 ((sal_uInt16)css::awt::Key::F23)
+#define KEY_F20 (sal_uInt16(css::awt::Key::F20))
+#define KEY_F21 (sal_uInt16(css::awt::Key::F21))
+#define KEY_F22 (sal_uInt16(css::awt::Key::F22))
+#define KEY_F23 (sal_uInt16(css::awt::Key::F23))
#define KEY_F24 (sal_uInt16(css::awt::Key::F24))
-#define KEY_F25 ((sal_uInt16)css::awt::Key::F25)
+#define KEY_F25 (sal_uInt16(css::awt::Key::F25))
#define KEY_F26 (sal_uInt16(css::awt::Key::F26))
#define KEY_DOWN (sal_uInt16(css::awt::Key::DOWN))