summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-02-05 14:03:44 +0000
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-02-19 14:56:41 +0000
commitdaa1882dc2360cead712c3f100cbef0f35c74f5d (patch)
treefd60bbacb9ae8d357a8c523eefd890ead38c1538
parent8a50946c2868f196a1f4571e491a5ca7fb12492a (diff)
Resolves: tdf#97465 like wheel ignore swipe for sc input handler inputchanged
(cherry picked from commit e35f3b6a3357fc3832a9d68ed37ddb9b5320ef0a) (cherry picked from commit 113f000d38c34dd4dda6903976f8febf6d95375c) Change-Id: Ide7fe1388ffe6f85a1f459037316d03193470d8a Reviewed-on: https://gerrit.libreoffice.org/22156 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--sc/source/ui/app/inputwin.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index b3776fd30e8a..834f4a65e11c 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -1646,6 +1646,10 @@ void ScTextWnd::Command( const CommandEvent& rCEvt )
{
//don't call InputChanged for CommandEventId::Wheel
}
+ else if ( nCommand == CommandEventId::Swipe )
+ {
+ //don't call InputChanged for CommandEventId::Swipe
+ }
else
SC_MOD()->InputChanged( pEditView );
}