diff -r c8fb4cf7b3ae -r 5e18d8c489d6 textinput/peninputvkbcn/src/peninputvkbuistatecompositionwithchars.cpp --- 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 } // -----------------------------------------------------------------------------