summaryrefslogtreecommitdiff
path: root/sfx2/source/statbar
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:16:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:16:14 +0100
commit48db069fd7341ad8128d0e9a5fbcc5b092fe9860 (patch)
tree1e7e14069f35086928b11f48c0a67dedec8730bc /sfx2/source/statbar
parent5e7e3c3bd7bd10a9f7216d4d9fa8f2c61bf2db3e (diff)
More loplugin:cstylecast: sfx2
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: Ia3bed56999f3d684f706ce0bd5be8a2269b06d22
Diffstat (limited to 'sfx2/source/statbar')
-rw-r--r--sfx2/source/statbar/stbitem.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index 4e03ee9cb3d0..6306380fd976 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -296,7 +296,7 @@ sal_Bool SAL_CALL SfxStatusBarControl::mouseButtonDown(
::Point aPos( rMouseEvent.X, rMouseEvent.Y );
::MouseEvent aMouseEvent( aPos,
- (sal_uInt16)rMouseEvent.ClickCount,
+ static_cast<sal_uInt16>(rMouseEvent.ClickCount),
MouseEventModifiers::NONE,
convertAwtToVCLMouseButtons( rMouseEvent.Buttons ),
0 );
@@ -312,7 +312,7 @@ sal_Bool SAL_CALL SfxStatusBarControl::mouseMove(
::Point aPos( rMouseEvent.X, rMouseEvent.Y );
::MouseEvent aMouseEvent( aPos,
- (sal_uInt16)rMouseEvent.ClickCount,
+ static_cast<sal_uInt16>(rMouseEvent.ClickCount),
MouseEventModifiers::NONE,
convertAwtToVCLMouseButtons( rMouseEvent.Buttons ),
0 );
@@ -327,7 +327,7 @@ sal_Bool SAL_CALL SfxStatusBarControl::mouseButtonUp(
::Point aPos( rMouseEvent.X, rMouseEvent.Y );
::MouseEvent aMouseEvent( aPos,
- (sal_uInt16)rMouseEvent.ClickCount,
+ static_cast<sal_uInt16>(rMouseEvent.ClickCount),
MouseEventModifiers::NONE,
convertAwtToVCLMouseButtons( rMouseEvent.Buttons ),
0 );