harvesterplugins/notes/src/notesplugin.cpp
changeset 3 6832643895f7
parent 2 208a4ba3894c
child 5 3bc31ad99ee7
equal deleted inserted replaced
2:208a4ba3894c 3:6832643895f7
   326 	
   326 	
   327 	if (aActionType == ECPixAddAction || aActionType == ECPixUpdateAction)
   327 	if (aActionType == ECPixAddAction || aActionType == ECPixUpdateAction)
   328 		{
   328 		{
   329         // Return the entry that has been fetched, this will be NULL if there are 
   329         // Return the entry that has been fetched, this will be NULL if there are 
   330 	    // no entries with the cal unique id
   330 	    // no entries with the cal unique id
   331 	    CCalEntry* entry = iEntryView->FetchL(aLocalUid);    
   331 	    CCalEntry* entry = iEntryView->FetchL(aLocalUid);
       
   332 	    if ( entry == NULL)  return;
   332 	    CleanupStack::PushL(entry);
   333 	    CleanupStack::PushL(entry);
   333 	    
   334 	    
   334 	    if( CCalEntry::ENote != entry->EntryTypeL() )
   335 	    if( CCalEntry::ENote != entry->EntryTypeL() )
   335 	        {
   336 	        {
   336             OstTrace0( TRACE_NORMAL, DUP1_CNOTESPLUGIN_CREATENOTEENTRYL, "CNotesPlugin::CreateNoteEntryL(): return as not a Note entry." );
   337             OstTrace0( TRACE_NORMAL, DUP1_CNOTESPLUGIN_CREATENOTEENTRYL, "CNotesPlugin::CreateNoteEntryL(): return as not a Note entry." );