calendarui/controller/src/calenalarmmanager.cpp
branchRCL_3
changeset 12 38571fd2a704
parent 0 f979ecb2b13e
child 19 1984aceb8774
equal deleted inserted replaced
5:42814f902fe6 12:38571fd2a704
   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