diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-29 15:13:53 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-09 08:09:28 +0100 |
commit | 91ca43828a55de6e7d11f58895bc7f215a30a4a7 (patch) | |
tree | 6259e19969572295bad688cc7971564b851c5c6d /sw | |
parent | 82b0df1d2bda28ce691294e3e1f1d10f1eaf18fe (diff) |
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
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uiview/view.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
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. |