equal
deleted
inserted
replaced
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); |