summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-16 17:13:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-16 17:27:16 +0100
commit96777e02d82f4a44cf681ea8f23d57676cdd515e (patch)
tree3476a9b7063c002db6451c7374b552ef27244a3a /sw
parent34c0b8869784cb44a516c97213ef24566a4ed111 (diff)
silence warning about unknown swipe command
and show context menu on long-press Change-Id: I6d603ebcc049b5ec2f9b23f7e400d995883324ea
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 22293eb4c5d3..510518e0cdb2 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -5123,6 +5123,7 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
switch ( rCEvt.GetCommand() )
{
case CommandEventId::ContextMenu:
+ case CommandEventId::LongPress:
{
const sal_uInt16 nId = SwInputChild::GetChildWindowId();
SwInputChild* pChildWin = static_cast<SwInputChild*>(GetView().GetViewFrame()->
@@ -5207,6 +5208,9 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
bCallBase = !m_rView.HandleWheelCommands( rCEvt );
break;
+ case CommandEventId::Swipe: //nothing yet
+ break;
+
case CommandEventId::StartExtTextInput:
{
bool bIsDocReadOnly = m_rView.GetDocShell()->IsReadOnly() &&