diff options
author | Povilas Kanapickas <povilas@radix.lt> | 2022-09-02 00:04:41 +0300 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-09-05 16:21:49 +0200 |
commit | 35319adcc28f197b73e146f9ba233e20616fd11f (patch) | |
tree | 41bf3dcd9461d15d5886cee77e4cf07a9fd51418 /sc/source | |
parent | 231342ef6a913f0a5c9dfea3bd28830e92a3fc98 (diff) |
vcl: Rename Swipe event to GestureSwipe
We have 5 gesture types: GestureZoom, GestureRotate, GesturePan, Swipe
and LongPress. For consistency all of these will use Gesture as a prefix
to reduce confusion and for easier grepping throughout the codebase.
Change-Id: I8b9e245d011203a19c1172f9833c172f65382caa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139243
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/app/inputwin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 384753ad0745..55e40f0f25d2 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -1760,9 +1760,9 @@ bool ScTextWnd::Command( const CommandEvent& rCEvt ) { //don't call InputChanged for CommandEventId::Wheel } - else if ( nCommand == CommandEventId::Swipe ) + else if ( nCommand == CommandEventId::GestureSwipe ) { - //don't call InputChanged for CommandEventId::Swipe + //don't call InputChanged for CommandEventId::GestureSwipe } else if ( nCommand == CommandEventId::LongPress ) { |