textinput/peninputvkbcn/src/peninputvkbuistatecompositionwithchars.cpp
branchRCL_3
changeset 12 5e18d8c489d6
parent 0 eb1f2e154e89
--- a/textinput/peninputvkbcn/src/peninputvkbuistatecompositionwithchars.cpp	Tue May 11 16:31:42 2010 +0300
+++ b/textinput/peninputvkbcn/src/peninputvkbuistatecompositionwithchars.cpp	Tue May 25 13:03:44 2010 +0300
@@ -124,27 +124,9 @@
 // -----------------------------------------------------------------------------
 //
 TBool CAknFepVkbUiStateCompositionWithChars::HandleBackEvent(TInt /*aEventType*/,
-                                                             const TDesC& aEventData)
-    {
-    TInt lengthPendown = iContext->RequestData(EAknFepDataTypeLengthWhenButtondownOnBack);
-    
-    TInt* data = (TInt*) aEventData.Ptr();
-    
-    //Get the flag of pen up or timer out, true when timer out, false when pen up
-    data++;
-    
-    if ( 1 >= iContext->CompositionFieldStringLength() ) // if no chars
-        {
-        iContext->SendEventToVkbControl(EVkbEventComposition2Standby,NULL);
-        
-        if ( *data == EFalse )  // pen up
-            {
-            iUiStateMgr->SetCurrentUiState(iUiStateMgr->UiStateStandbycn());                       
-            iContext->ForceEditGainFocus(EInputContextFieldGetFocus);              
-            }            
-        }
-    return EFalse;  // If no chars, needn't send to composition again
-        
+                                                             const TDesC& /*aEventData*/)
+    {    
+    return EFalse;  // If no chars, needn't send to composition again        
     }
     
 // -----------------------------------------------------------------------------