fep/aknfep/src/AknFepUiInputStateCandidateQwertyBaseChinesePhrase.cpp
branchRCL_3
changeset 50 5a1685599b76
parent 44 ecbabf52600f
child 56 8152b1f1763a
--- a/fep/aknfep/src/AknFepUiInputStateCandidateQwertyBaseChinesePhrase.cpp	Tue Sep 14 21:59:06 2010 +0300
+++ b/fep/aknfep/src/AknFepUiInputStateCandidateQwertyBaseChinesePhrase.cpp	Wed Sep 15 12:34:44 2010 +0300
@@ -55,7 +55,6 @@
 
     else if(!( HandleVerticalNavigation(aKey) || HandleHorizontalNavigation(aKey) ))
         {
-        TInt index = 0;
 #ifdef RD_INTELLIGENT_TEXT_INPUT
         // it may be one of the 'valid' numbers..
         TPtiKeyboardType keyboardtype = iOwner->FepMan()->KeyboardLayout();
@@ -86,7 +85,6 @@
                     
                        &&(aKey == numKeyBind.iKey))
                     	{
-                    	index = numKeyBind.iChar - EPtiKey0 -1;
                     	validnumkey = ETrue;
                     	break;
                     	}
@@ -101,16 +99,10 @@
             	}
                 
             }
-        else
-            {
-#endif
-            index = MapKeyToIndex(aKey);
-#ifdef RD_INTELLIGENT_TEXT_INPUT
-            }             
 #endif
         MAknFepUICtrlCandidatePane* candidatePane = UIContainer()->CandidatePane();
 
-        if(candidatePane->SelectIndex(index) || aKey == EStdKeyDevice3 || aKey == EStdKeyEnter)
+        if( aKey == EStdKeyDevice3 || aKey == EStdKeyEnter)
             {
             TPtrC text = candidatePane->CurrentPhraseCandidate();
             if(text.Length())