harvesterplugins/notes/src/notesplugin.cpp
changeset 3 6832643895f7
parent 2 208a4ba3894c
child 5 3bc31ad99ee7
--- a/harvesterplugins/notes/src/notesplugin.cpp	Mon May 03 12:32:15 2010 +0300
+++ b/harvesterplugins/notes/src/notesplugin.cpp	Fri May 14 15:53:17 2010 +0300
@@ -328,7 +328,8 @@
 		{
         // Return the entry that has been fetched, this will be NULL if there are 
 	    // no entries with the cal unique id
-	    CCalEntry* entry = iEntryView->FetchL(aLocalUid);    
+	    CCalEntry* entry = iEntryView->FetchL(aLocalUid);
+	    if ( entry == NULL)  return;
 	    CleanupStack::PushL(entry);
 	    
 	    if( CCalEntry::ENote != entry->EntryTypeL() )