diff -r 4af31167ea77 -r 13d7c31c74e0 syncmlfw/syncmlnotifier/src/SyncMLTimedInputTextQuery.cpp --- a/syncmlfw/syncmlnotifier/src/SyncMLTimedInputTextQuery.cpp Thu Jul 15 19:36:11 2010 +0300 +++ b/syncmlfw/syncmlnotifier/src/SyncMLTimedInputTextQuery.cpp Thu Aug 19 10:44:50 2010 +0300 @@ -153,38 +153,43 @@ // CSyncMLTimedInputTextQuery::HandleQueryEditorStateEventL // ----------------------------------------------------------------------------- // -TBool CSyncMLTimedInputTextQuery::HandleQueryEditorStateEventL(CAknQueryControl* aQueryControl, TQueryControlEvent aEventType, TQueryValidationStatus aStatus) +TBool CSyncMLTimedInputTextQuery::HandleQueryEditorStateEventL( + CAknQueryControl* aQueryControl, TQueryControlEvent aEventType, + TQueryValidationStatus aStatus ) { - if ( aQueryControl ) - { - if( EPhoneLayout == aQueryControl->QueryType() ) - { - if (aEventType == EEmergencyCallAttempted) - { - TryExitL(EEikBidCancel); - } - else - { - - TBuf PhoneNo; - aQueryControl->GetText( PhoneNo ); - TInt posplus = PhoneNo.LocateReverse('+'); - if(posplus==0 || posplus==KErrNotFound ) - { - CAknQueryDialog::HandleQueryEditorStateEventL(aQueryControl,aEventType,aStatus); - } - else - { - MakeLeftSoftkeyVisible(EFalse); - } - } - } - } - else //For all other layouts - { - CAknQueryDialog::HandleQueryEditorStateEventL(aQueryControl,aEventType,aStatus); - } - return EFalse; - } + if (aQueryControl) + { + if (EPhoneLayout == aQueryControl->QueryType()) + { + if (aEventType == EEmergencyCallAttempted) + { + TryExitL(EEikBidCancel); + } + else + { + + TBuf PhoneNo; + aQueryControl->GetText(PhoneNo); + TInt posplus = PhoneNo.LocateReverse('+'); + if (posplus == 0 || posplus == KErrNotFound) + { + CAknQueryDialog::HandleQueryEditorStateEventL( + aQueryControl, aEventType, aStatus); + } + else + { + MakeLeftSoftkeyVisible(EFalse); + } + } + } + + else //For all other layouts + { + CAknQueryDialog::HandleQueryEditorStateEventL(aQueryControl, + aEventType, aStatus); + } + } + return EFalse; + } // End of File