Kaydet (Commit) 7c3db8a6 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Fridrich Strba

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/3450Reviewed-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
Tested-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
üst 745b0c1b
......@@ -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 )
......
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