equal
deleted
inserted
replaced
915 TRACE_ENTRY_POINT; |
915 TRACE_ENTRY_POINT; |
916 |
916 |
917 TCalenInstanceId missedAlarm = iMissedAlarmsArray[aIndex]; |
917 TCalenInstanceId missedAlarm = iMissedAlarmsArray[aIndex]; |
918 |
918 |
919 CCalEntry* entry = iServices.EntryViewL(missedAlarm.iColId)->FetchL( missedAlarm.iEntryLocalUid ); |
919 CCalEntry* entry = iServices.EntryViewL(missedAlarm.iColId)->FetchL( missedAlarm.iEntryLocalUid ); |
920 User::LeaveIfNull( entry ); |
920 //User::LeaveIfNull( entry ); |
|
921 if (entry) |
|
922 { |
921 CleanupStack::PushL( entry ); |
923 CleanupStack::PushL( entry ); |
922 |
924 |
923 TTime instanceTime; |
925 TTime instanceTime; |
924 TCalTime inscaltime; |
926 TCalTime inscaltime; |
925 |
927 |
931 TCalenInstanceId id = TCalenInstanceId::CreateL( *entry, inscaltime ); |
933 TCalenInstanceId id = TCalenInstanceId::CreateL( *entry, inscaltime ); |
932 id.iColId = missedAlarm.iColId; |
934 id.iColId = missedAlarm.iColId; |
933 context.SetInstanceIdL( id, context.ViewId() ); |
935 context.SetInstanceIdL( id, context.ViewId() ); |
934 |
936 |
935 CleanupStack::PopAndDestroy( entry ); |
937 CleanupStack::PopAndDestroy( entry ); |
|
938 } |
936 |
939 |
937 TRACE_EXIT_POINT; |
940 TRACE_EXIT_POINT; |
938 } |
941 } |
939 |
942 |
940 // ----------------------------------------------------------------------------- |
943 // ----------------------------------------------------------------------------- |