summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:23:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:23:23 +0100
commitcf8b8cad053e0e9783cdc8f08ce886e2ae4b7eb0 (patch)
treeacb5e32f7abdb40975076487122c7fa1d05be0b7 /framework/inc
parentfaf01b8d54737dfbb318709180966e84c7fd5614 (diff)
More loplugin:cstylecast: framework
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: I8981ef6de675bf10c103e1af0afccd620762268d
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/stdtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/inc/stdtypes.h b/framework/inc/stdtypes.h
index 778e09174166..7973cdd6147e 100644
--- a/framework/inc/stdtypes.h
+++ b/framework/inc/stdtypes.h
@@ -42,7 +42,7 @@ struct KeyEventHashCode
{
size_t operator()( const css::awt::KeyEvent& aEvent ) const
{
- return (size_t)(aEvent.KeyCode +
+ return static_cast<size_t>(aEvent.KeyCode +
//aEvent.KeyChar +
//aEvent.KeyFunc +
aEvent.Modifiers);