equal
deleted
inserted
replaced
883 // |
883 // |
884 void CCalenAlarmManager::RemoveAllViewedEventsL() |
884 void CCalenAlarmManager::RemoveAllViewedEventsL() |
885 { |
885 { |
886 TRACE_ENTRY_POINT; |
886 TRACE_ENTRY_POINT; |
887 |
887 |
888 for(TInt index=0;index<iMissedAlarmList.Count();index++) |
888 for(TInt index=0;index<iMissedAlarmList.Count();) |
889 { |
889 { |
890 if(iMissedAlarmList[index].iInstanceViewed) |
890 if(iMissedAlarmList[index].iInstanceViewed) |
891 { |
891 { |
892 iMissedAlarmList.Remove(index); |
892 iMissedAlarmList.Remove(index); |
893 } |
893 } |
|
894 else |
|
895 { |
|
896 index++; |
|
897 } |
894 } |
898 } |
895 |
899 |
896 TRACE_EXIT_POINT; |
900 TRACE_EXIT_POINT; |
897 } |
901 } |
898 |
902 |