calendarui/controller/src/calenmultipledbui.cpp
branchRCL_3
changeset 11 0f07cd1b5772
parent 5 42814f902fe6
child 13 1984aceb8774
--- a/calendarui/controller/src/calenmultipledbui.cpp	Fri Mar 12 15:42:35 2010 +0200
+++ b/calendarui/controller/src/calenmultipledbui.cpp	Mon Mar 15 12:40:18 2010 +0200
@@ -56,6 +56,8 @@
 const TInt KMultiDbMaxLength = 300;
 const TInt KBuffLength = 24;
 
+
+
 // ----------------------------------------------------------------------------
 // CCalenMultipleDbListboxItemDrawer::CCalenMultipleDbListboxItemDrawer
 // Constructor
@@ -484,7 +486,7 @@
               HBufC* calendarFileName = 
                   calendarInfoList[currentIndex]->FileNameL().AllocLC();
               if (!(calendarFileName->CompareF(
-                        iController.Services().SessionL().DefaultFileNameL())))
+                      _L("c:Calendar1"))))
                   {
                   aMenuPane->DeleteMenuItem(ECalenCmdDelete);
                   }
@@ -862,7 +864,7 @@
                 HBufC* calendarFileName = 
                         calendarInfoList[currentIndex]->FileNameL().AllocLC();
                 if (calendarFileName->CompareF(
-                        iController.Services().SessionL().DefaultFileNameL()))
+                        _L("c:Calendar1")))
                     {
                     DeleteItemL();
                     }