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