Kaydet (Commit) 96777e02 authored tarafından Caolán McNamara's avatar Caolán McNamara

silence warning about unknown swipe command

and show context menu on long-press

Change-Id: I6d603ebcc049b5ec2f9b23f7e400d995883324ea
üst 34c0b886
......@@ -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() &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment