--- a/calendarui/views/src/calenmissedalarmsview.cpp Wed Apr 14 15:55:57 2010 +0300
+++ b/calendarui/views/src/calenmissedalarmsview.cpp Tue Apr 27 16:36:22 2010 +0300
@@ -120,16 +120,20 @@
break;
case EPopulationDone:
{
- // update missed alarm list
- Container()->UpdateMissedAlarmsArrayL();
+ if(Container())
+ {
+ // update missed alarm list
+ Container()->UpdateMissedAlarmsArrayL();
- // populate with missed alarms
- Container()->PopulateWithMissedAlarmsL();
+ // populate with missed alarms
+ Container()->PopulateWithMissedAlarmsL();
- // complete population
- Container()->CompletePopulationL();
- RedrawStatusPaneL();
- UpdateCbaL();
+ // complete population
+ Container()->CompletePopulationL();
+
+ RedrawStatusPaneL();
+ UpdateCbaL();
+ }