summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-12-05 01:50:38 +0100
committerEike Rathke <erack@redhat.com>2013-12-05 02:05:27 +0100
commitdfd1a47a38dac743f9ed0f1e9507714bac027d35 (patch)
tree794e8226d68e62aec884e85f0e5c2b21a3c2dd24 /sc/inc
parent45c5124e0e117473a9f423ccc673a8a26ee5fc9d (diff)
resolved fdo#71667 and fdo#72278, fdo#69971 follow-up fix
a9d85d62a889288b17899c8defc020da487d8b36 used ScInputHandler::EnterHandler() to reset all sort of things related to input EditEngine, but that is a handler for Enter and does not enter a handler and actually attempts to finalize input, which lead to various unwanted side effects. Introduced ScInputHandler::InputTurnOffWinEngine() as only the input bar window EditEngine needs to be reset in the window switching case (which EnterHandler also does hence it did prevent that bug). The approach could be polished with further refinement but most importantly fixes the actual problems now. Change-Id: I9a0bc452b49ba11a3313cafbc1e5972f41dc65c7
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/scmod.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx
index 59329047bf64..a90a0b309137 100644
--- a/sc/inc/scmod.hxx
+++ b/sc/inc/scmod.hxx
@@ -217,6 +217,7 @@ SC_DLLPUBLIC void SetAppOptions ( const ScAppOptions& rO
void InputGetSelection( sal_Int32& rStart, sal_Int32& rEnd );
void InputSetSelection( sal_Int32 nStart, sal_Int32 nEnd );
void InputReplaceSelection( const OUString& rStr );
+ void InputTurnOffWinEngine();
OUString InputGetFormulaStr();
void ActivateInputWindow( const OUString* pStr = NULL,
sal_Bool bMatrix = false );