calendarui/views/src/calenmissedalarmsview.cpp
branchRCL_3
changeset 21 9711e452b5e9
parent 19 1984aceb8774
child 27 55d60436f00b
--- 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();
+	       	    }