mobilemessaging/postcard/postcardsrc/PostcardRecipientWrapper.cpp
changeset 2 0bf1d54f37d9
parent 0 72b543305e3a
equal deleted inserted replaced
1:d09ac5c1e252 2:0bf1d54f37d9
   182         // And execute the dialog
   182         // And execute the dialog
   183         CleanupStack::Pop( popupList );
   183         CleanupStack::Pop( popupList );
   184         TInt popupOk = popupList->ExecuteLD();
   184         TInt popupOk = popupList->ExecuteLD();
   185         TInt itemIndex = listBox->CurrentItemIndex();
   185         TInt itemIndex = listBox->CurrentItemIndex();
   186         CleanupStack::PopAndDestroy( listBox ); // listBox;
   186         CleanupStack::PopAndDestroy( listBox ); // listBox;
   187 
   187         	
   188         if ( popupOk )
   188 		// Coverty fix, Negative return; http://ousrv057/cov.cgi?cid=36961
       
   189         if ( popupOk && itemIndex > 0)
   189 	        {
   190 	        {
   190 	        location = foundLocations[ itemIndex ];
   191 	        location = foundLocations[ itemIndex ];
   191 	        }
   192 	        }
   192         else
   193         else
   193             {
   194             {