messagingappbase/msgeditor/appuisrc/MsgCheckNames.cpp
changeset 2 0bf1d54f37d9
parent 0 72b543305e3a
child 17 caea42e26caa
--- a/messagingappbase/msgeditor/appuisrc/MsgCheckNames.cpp	Thu Jan 07 12:45:05 2010 +0200
+++ b/messagingappbase/msgeditor/appuisrc/MsgCheckNames.cpp	Mon Jan 18 20:16:40 2010 +0200
@@ -242,8 +242,12 @@
         {
         PerformAdvancedMatchL( aText, fieldTypes );
         }
-    
-    TInt contactAmount = iFoundContacts->Count();
+     // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35690 
+    TInt contactAmount;  
+    if(iFoundContacts)
+        {
+        contactAmount = iFoundContacts->Count();
+      	}
 
     // Offer the user a list of matching contacts
     if ( contactAmount > 1 )