diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-04-18 11:28:25 +0100 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-04-18 15:19:12 +0000 |
commit | 7c3db8a660fbbcfca277e5cf22a3987c35e656d0 (patch) | |
tree | 56058bb1713d266cee70df40b0a036377b70a874 | |
parent | 745b0c1b2a944d37a7c5119eb3b9b45f3424bfd1 (diff) |
Resolves: fdo#63592 changing text direction exits edit mode
if we're in edit mode, SC_MOD()->InputEnterHandler() kicks
us out of it. But the very similar ScFormatShell::ExecuteAlignment
method doesn't do an InputEnterHandler. I can't see why we
would want to do this, and without it we get the desired
behaviour that tex direction changes and we remain in whatever
mode we were in before changing it
Change-Id: Iaf6e154ffb8f317fda997b302d4075d2efcac8db
Reviewed-on: https://gerrit.libreoffice.org/3450
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
-rw-r--r-- | sc/source/ui/view/formatsh.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index c4e7e40cd1bf..a8518932331b 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -2056,11 +2056,6 @@ void ScFormatShell::ExecuteTextDirection( SfxRequest& rReq ) { ScTabViewShell* pTabViewShell = GetViewData()->GetViewShell(); pTabViewShell->HideListBox(); // Autofilter-DropDown-Listbox - if ( GetViewData()->HasEditView( GetViewData()->GetActivePart() ) ) - { - SC_MOD()->InputEnterHandler(); - pTabViewShell->UpdateInputHandler(); - } sal_uInt16 nSlot = rReq.GetSlot(); switch( nSlot ) |