phonebookui/Phonebook2/MapExtension/src/cpmapcmd.cpp
branchRCL_3
changeset 35 4ae315f230bc
parent 32 2828b4d142c0
child 45 34879f5cfc63
equal deleted inserted replaced
32:2828b4d142c0 35:4ae315f230bc
   180     providers.ResetAndDestroy();
   180     providers.ResetAndDestroy();
   181     CleanupStack::PopAndDestroy( &providers );
   181     CleanupStack::PopAndDestroy( &providers );
   182                 
   182                 
   183     if ( !iMapViewProvider )
   183     if ( !iMapViewProvider )
   184         {
   184         {
   185         User::Leave( KErrGeneral );
   185         User::Leave( KErrNotSupported );
   186         }
   186         }
   187     
   187     
   188     if( iUiControl && ! iContact )
   188     if( iUiControl && ! iContact )
   189     	{
   189     	{
   190     	iContact = const_cast<MVPbkStoreContact*>(iUiControl->FocusedStoreContact());
   190     	iContact = const_cast<MVPbkStoreContact*>(iUiControl->FocusedStoreContact());