update dev300-m58
[ooovba.git] / applied_patches / 0402-autocorrect-accidental-caps-lock-sc.diff
blob06b25d4943284f2af7e945fc5c769e930e87d4e4
1 Only in sc: out.ann
2 diff -urp --exclude=CVS --exclude=unxlngi6.pro --exclude=sc.vpj sc.clean/source/ui/app/inputhdl.cxx sc/source/ui/app/inputhdl.cxx
3 --- sc.clean/source/ui/app/inputhdl.cxx 2008-02-05 11:16:55.000000000 -0500
4 +++ sc/source/ui/app/inputhdl.cxx 2008-02-28 14:23:24.000000000 -0500
5 @@ -2039,10 +2039,12 @@ void ScInputHandler::EnterHandler( BYTE
6 lcl_SelectionToEnd(pTableView);
9 + Window* pFrameWin = pActiveViewSh ? pActiveViewSh->GetFrameWin() : NULL;
11 if (pTopView)
12 pTopView->CompleteAutoCorrect(); // #59759# CompleteAutoCorrect fuer beide Views
13 if (pTableView)
14 - pTableView->CompleteAutoCorrect();
15 + pTableView->CompleteAutoCorrect(pFrameWin);
16 aString = GetEditText(pEngine);
18 lcl_RemoveTabs(aString);
19 @@ -2774,8 +2776,11 @@ BOOL ScInputHandler::KeyInput( const Key
20 else
22 if (pTableView)
23 - if ( pTableView->PostKeyEvent( rKEvt ) )
24 - bUsed = TRUE;
25 + {
26 + Window* pFrameWin = pActiveViewSh ? pActiveViewSh->GetFrameWin() : NULL;
27 + if ( pTableView->PostKeyEvent( rKEvt, pFrameWin ) )
28 + bUsed = TRUE;
29 + }
30 if (pTopView)
31 if ( pTopView->PostKeyEvent( rKEvt ) )
32 bUsed = TRUE;