[PATCH] fdo#63592 this new patch will solve context numerical proble...

abdulmajeed ahmed (via Code Review) gerrit at gerrit.libreoffice.org
Sat Apr 27 02:15:39 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3629

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/29/3629/1

fdo#63592 this new patch will solve context numerical problem

Change-Id: I5598fd9dab823c738a812537743695ec88690a24
---
M sc/source/ui/view/formatsh.cxx
1 file changed, 9 insertions(+), 1 deletion(-)



diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 3f2b26d..7c66d1c 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -2056,7 +2056,13 @@
 {
     ScTabViewShell* pTabViewShell = GetViewData()->GetViewShell();
     pTabViewShell->HideListBox();               // Autofilter-DropDown-Listbox
-
+    bool bEditMode = false;
+    if ( GetViewData()->HasEditView( GetViewData()->GetActivePart() ) )
+       {
+       bEditMode=true;
+       SC_MOD()->InputEnterHandler();
+       pTabViewShell->UpdateInputHandler();
+       }
     sal_uInt16 nSlot = rReq.GetSlot();
     switch( nSlot )
     {
@@ -2112,6 +2118,8 @@
         }
         break;
     }
+    if (bEditMode)
+    SC_MOD()->SetInputMode( SC_INPUT_TABLE );
 }
 
 void ScFormatShell::GetTextDirectionState( SfxItemSet& rSet )

-- 
To view, visit https://gerrit.libreoffice.org/3629
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5598fd9dab823c738a812537743695ec88690a24
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: abdulmajeed ahmed <aalabdulrazzaq at kacst.edu.sa>



More information about the LibreOffice mailing list