summaryrefslogtreecommitdiff
path: root/include/vcl/event.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:10:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:10:40 +0100
commit55f07d4daa76503530d96b9c20b53c59bcd5bcf9 (patch)
tree7ad8a720341e38258dab12597d25616c3bff8807 /include/vcl/event.hxx
parente235da515af0e2a5d5a0cf80773943b65fdb8f7b (diff)
More loplugin:cstylecast: vcl
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I363c01a1ae9e863fca4fb4589829492d7280d711
Diffstat (limited to 'include/vcl/event.hxx')
-rw-r--r--include/vcl/event.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/event.hxx b/include/vcl/event.hxx
index 2c21dd52d8ab..050e7199cc45 100644
--- a/include/vcl/event.hxx
+++ b/include/vcl/event.hxx
@@ -105,9 +105,9 @@ namespace o3tl
}
// Mouse buttons
-#define MOUSE_LEFT ((sal_uInt16)0x0001)
-#define MOUSE_MIDDLE ((sal_uInt16)0x0002)
-#define MOUSE_RIGHT ((sal_uInt16)0x0004)
+#define MOUSE_LEFT (sal_uInt16(0x0001))
+#define MOUSE_MIDDLE (sal_uInt16(0x0002))
+#define MOUSE_RIGHT (sal_uInt16(0x0004))
class VCL_DLLPUBLIC MouseEvent