summaryrefslogtreecommitdiff
path: root/vcl/source/window/mouseevent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/mouseevent.cxx')
-rw-r--r--vcl/source/window/mouseevent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/mouseevent.cxx b/vcl/source/window/mouseevent.cxx
index 4bfe08b3f3d8..afb0b5f68a07 100644
--- a/vcl/source/window/mouseevent.cxx
+++ b/vcl/source/window/mouseevent.cxx
@@ -38,7 +38,7 @@
MouseEvent::MouseEvent( const ::com::sun::star::awt::MouseEvent& rEvent )
: maPos( rEvent.X, rEvent.Y )
, mnMode( 0 )
-, mnClicks( static_cast< USHORT >( rEvent.ClickCount ) )
+, mnClicks( static_cast< sal_uInt16 >( rEvent.ClickCount ) )
, mnCode( 0 )
{
if( rEvent.Modifiers )