diff -r 81f8547efd4f -r e8e3147d53eb phonebookui/Phonebook2/CommandsExtension/src/CPbk2AssignSpeedDialCmd.cpp --- a/phonebookui/Phonebook2/CommandsExtension/src/CPbk2AssignSpeedDialCmd.cpp Fri Mar 12 15:41:25 2010 +0200 +++ b/phonebookui/Phonebook2/CommandsExtension/src/CPbk2AssignSpeedDialCmd.cpp Mon Mar 15 12:39:26 2010 +0200 @@ -379,17 +379,7 @@ MVPbkStoreContactField* CPbk2AssignSpeedDialCmd::FocusedFieldLC ( MVPbkStoreContact& aStoreContact ) { - TInt index = KErrNotFound; - CPbk2PresentationContact* presentationContact = - CPbk2PresentationContact::NewL( aStoreContact, - iAppServices->FieldProperties() ); - CleanupStack::PushL( presentationContact ); - - index = presentationContact->PresentationFields().StoreIndexOfField( - iUiControl->FocusedFieldIndex() ); - - CleanupStack::PopAndDestroy( presentationContact ); - + TInt index = iUiControl->FocusedFieldIndex(); if ( index != KErrNotFound ) { // Use FieldAtLC to avoid the unvalidity of the field after new