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 ) ...@@ -5123,6 +5123,7 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
switch ( rCEvt.GetCommand() ) switch ( rCEvt.GetCommand() )
{ {
case CommandEventId::ContextMenu: case CommandEventId::ContextMenu:
case CommandEventId::LongPress:
{ {
const sal_uInt16 nId = SwInputChild::GetChildWindowId(); const sal_uInt16 nId = SwInputChild::GetChildWindowId();
SwInputChild* pChildWin = static_cast<SwInputChild*>(GetView().GetViewFrame()-> SwInputChild* pChildWin = static_cast<SwInputChild*>(GetView().GetViewFrame()->
...@@ -5207,6 +5208,9 @@ void SwEditWin::Command( const CommandEvent& rCEvt ) ...@@ -5207,6 +5208,9 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
bCallBase = !m_rView.HandleWheelCommands( rCEvt ); bCallBase = !m_rView.HandleWheelCommands( rCEvt );
break; break;
case CommandEventId::Swipe: //nothing yet
break;
case CommandEventId::StartExtTextInput: case CommandEventId::StartExtTextInput:
{ {
bool bIsDocReadOnly = m_rView.GetDocShell()->IsReadOnly() && 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