messagingappbase/msgeditor/appuisrc/MsgCheckNames.cpp
changeset 2 0bf1d54f37d9
parent 0 72b543305e3a
child 12 caea42e26caa
equal deleted inserted replaced
1:d09ac5c1e252 2:0bf1d54f37d9
   240          iFoundContacts->Count() == 0 &&
   240          iFoundContacts->Count() == 0 &&
   241          UseAdvancedMatch( aText ) )
   241          UseAdvancedMatch( aText ) )
   242         {
   242         {
   243         PerformAdvancedMatchL( aText, fieldTypes );
   243         PerformAdvancedMatchL( aText, fieldTypes );
   244         }
   244         }
   245     
   245      // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35690 
   246     TInt contactAmount = iFoundContacts->Count();
   246     TInt contactAmount;  
       
   247     if(iFoundContacts)
       
   248         {
       
   249         contactAmount = iFoundContacts->Count();
       
   250       	}
   247 
   251 
   248     // Offer the user a list of matching contacts
   252     // Offer the user a list of matching contacts
   249     if ( contactAmount > 1 )
   253     if ( contactAmount > 1 )
   250         {                         
   254         {                         
   251         CDesCArray* items = new ( ELeave ) CDesCArrayFlat(4);
   255         CDesCArray* items = new ( ELeave ) CDesCArrayFlat(4);