diff options
author | Povilas Kanapickas <povilas@radix.lt> | 2022-09-02 00:04:42 +0300 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-09-05 16:22:31 +0200 |
commit | d752cb42473547872741c74a70809f28f9fe789c (patch) | |
tree | b967cd9446feec9cadb57c408b825a6dab14945c /sc/source | |
parent | 35319adcc28f197b73e146f9ba233e20616fd11f (diff) |
vcl: Rename LongPress event to GestureLongPress
We have 5 gesture types: GestureZoom, GestureRotate, GesturePan,
GestureSwipe 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: I8b9e245d011203a19c1172f9833c172f65382cab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139244
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 55e40f0f25d2..6b695c05bebb 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -1764,9 +1764,9 @@ bool ScTextWnd::Command( const CommandEvent& rCEvt ) { //don't call InputChanged for CommandEventId::GestureSwipe } - else if ( nCommand == CommandEventId::LongPress ) + else if ( nCommand == CommandEventId::GestureLongPress ) { - //don't call InputChanged for CommandEventId::LongPress + //don't call InputChanged for CommandEventId::GestureLongPress } else if ( nCommand == CommandEventId::ModKeyChange ) { |