calendarui/globaldata/src/calenglobaldata.cpp
branchRCL_3
changeset 78 356f28cd5ca0
parent 66 bd7edf625bdd
child 86 ed599363c2d7
--- a/calendarui/globaldata/src/calenglobaldata.cpp	Tue Sep 14 21:17:03 2010 +0300
+++ b/calendarui/globaldata/src/calenglobaldata.cpp	Wed Sep 15 12:11:35 2010 +0300
@@ -1657,7 +1657,7 @@
             softDelete = pkgSoftDelete();
             }
         if( softDelete && 
-                calendarInfo->FileNameL().CompareF(CalSessionL().DefaultFileNameL()) )
+                calendarInfo->FileNameL().CompareF(KCalendarDatabaseFilePath) )
             {
             // delete caleninfo except for default calendar.
             delete calendarInfo;