diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-18 10:11:06 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-18 09:03:16 +0000 |
commit | 5a4d508bd6711def27c7738f7ac68c2da478e48c (patch) | |
tree | c688427afbce033c04009d71c4b2c256ec784da2 /vcl/source/window/mouseevent.cxx | |
parent | d30a44aff1fb049a71e4eb2612be65a735fbe918 (diff) |
com::sun::star->css in vcl/
Change-Id: Ifad76177673cf93746ba221838be80ff76fed228
Reviewed-on: https://gerrit.libreoffice.org/20032
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/window/mouseevent.cxx')
-rw-r--r-- | vcl/source/window/mouseevent.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vcl/source/window/mouseevent.cxx b/vcl/source/window/mouseevent.cxx index d4a493c71449..581c1643fc72 100644 --- a/vcl/source/window/mouseevent.cxx +++ b/vcl/source/window/mouseevent.cxx @@ -24,7 +24,7 @@ #include <com/sun/star/awt/MouseButton.hpp> /** inits this vcl KeyEvent with all settings from the given awt event **/ -MouseEvent::MouseEvent( const ::com::sun::star::awt::MouseEvent& rEvent ) +MouseEvent::MouseEvent( const css::awt::MouseEvent& rEvent ) : maPos( rEvent.X, rEvent.Y ) , mnMode( MouseEventModifiers::NONE ) , mnClicks( static_cast< sal_uInt16 >( rEvent.ClickCount ) ) @@ -32,23 +32,23 @@ MouseEvent::MouseEvent( const ::com::sun::star::awt::MouseEvent& rEvent ) { if( rEvent.Modifiers ) { - if( (rEvent.Modifiers & ::com::sun::star::awt::KeyModifier::SHIFT) != 0 ) + if( (rEvent.Modifiers & css::awt::KeyModifier::SHIFT) != 0 ) mnCode |= KEY_SHIFT; - if( (rEvent.Modifiers & ::com::sun::star::awt::KeyModifier::MOD1) != 0 ) + if( (rEvent.Modifiers & css::awt::KeyModifier::MOD1) != 0 ) mnCode |= KEY_MOD1; - if( (rEvent.Modifiers & ::com::sun::star::awt::KeyModifier::MOD2) != 0 ) + if( (rEvent.Modifiers & css::awt::KeyModifier::MOD2) != 0 ) mnCode |= KEY_MOD2; - if( (rEvent.Modifiers & ::com::sun::star::awt::KeyModifier::MOD3) != 0 ) + if( (rEvent.Modifiers & css::awt::KeyModifier::MOD3) != 0 ) mnCode |= KEY_MOD3; } if( rEvent.Buttons ) { - if( (rEvent.Buttons & ::com::sun::star::awt::MouseButton::LEFT) != 0 ) + if( (rEvent.Buttons & css::awt::MouseButton::LEFT) != 0 ) mnCode |= MOUSE_LEFT; - if( (rEvent.Buttons & ::com::sun::star::awt::MouseButton::RIGHT) != 0 ) + if( (rEvent.Buttons & css::awt::MouseButton::RIGHT) != 0 ) mnCode |= MOUSE_RIGHT; - if( (rEvent.Buttons & ::com::sun::star::awt::MouseButton::MIDDLE) != 0 ) + if( (rEvent.Buttons & css::awt::MouseButton::MIDDLE) != 0 ) mnCode |= MOUSE_MIDDLE; } } |