From 91ca43828a55de6e7d11f58895bc7f215a30a4a7 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 29 Jan 2015 15:13:53 +0100 Subject: SwView: SelectShell() is needed on Android, too Otherwise GetShellAndSlot_Impl() in SfxDispatchController_Impl::dispatch() will fail, as there is no SwTextShell on SfxDispatcher's shell stack, and that means nobody will invoke SwBaseShell::ExecDelete() when an SwBackspace command is to be handled. Change-Id: I62e3aff265784e8c73659d3e3c5f646d927338b0 --- sw/source/uibase/uiview/view.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'sw') diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx index 3073f9be61aa..7bb8728f43c6 100644 --- a/sw/source/uibase/uiview/view.cxx +++ b/sw/source/uibase/uiview/view.cxx @@ -226,7 +226,6 @@ IMPL_LINK_NOARG(SwView, FormControlActivated) void SwView::SelectShell() { -#if HAVE_FEATURE_DESKTOP // Attention: Maintain the SelectShell for the WebView additionally if(m_bInDtor) @@ -455,7 +454,6 @@ void SwView::SelectShell() m_pWrtShell->UpdateTable(); GetViewImpl()->GetUNOObject_Impl()->NotifySelChanged(); -#endif } // Interaction: AttrChangedNotify() and TimeoutHdl. -- cgit