calendarui/controller/src/caleneditui.cpp
branchRCL_3
changeset 28 96907930389d
parent 16 55d60436f00b
child 29 12af337248b1
--- a/calendarui/controller/src/caleneditui.cpp	Thu Jul 15 18:37:27 2010 +0300
+++ b/calendarui/controller/src/caleneditui.cpp	Thu Aug 19 09:53:43 2010 +0300
@@ -919,8 +919,8 @@
     // (*) Alarm Default times are also set using the values
         
     TTime activeTime(Time::NullTTime()); // initialize with NULL time
-    TTime& activeTimeRef = activeTime;
-    MCalenContext &context = iGlobalData->Context();
+	MCalenContext &context = iGlobalData->Context();
+    /*TTime& activeTimeRef = activeTime;
     TUid currentView = iController.ViewManager().CurrentView();
     if(currentView == KUidCalenWeekView)
         {
@@ -945,11 +945,11 @@
              }
          }
     else
-        {
+        {*/
         // use Today @ 8 am
         activeTime = CalenDateUtils::Today();
         activeTime = CalenDateUtils::DefaultTime(context.FocusDateAndTimeL().TimeLocalL()); // 8 am
-        }
+        //}
     
     TRACE_EXIT_POINT;
     return activeTime;