calendarui/globaldata/src/calencontextimpl.cpp
branchRCL_3
changeset 60 96907930389d
parent 19 1984aceb8774
child 65 12af337248b1
--- a/calendarui/globaldata/src/calencontextimpl.cpp	Thu Jul 15 18:37:27 2010 +0300
+++ b/calendarui/globaldata/src/calencontextimpl.cpp	Thu Aug 19 09:53:43 2010 +0300
@@ -475,7 +475,14 @@
     {
     TRACE_ENTRY_POINT
     TRACE_EXIT_POINT
-    return *iCalenFileName;
+    if(iCalenFileName)
+        {
+        return *iCalenFileName;
+        }
+    else
+        {
+        return const_cast<TDesC&> (KNullDesC());
+        }
     }
 
 // -----------------------------------------------------------------------------