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 4dbb7385f94f..2e76750e1cf5 100644
--- a/vcl/source/window/mouseevent.cxx
+++ b/vcl/source/window/mouseevent.cxx
@@ -39,7 +39,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 )