calendarui/globaldata/src/calencontextimpl.cpp
branchRCL_3
changeset 60 96907930389d
parent 19 1984aceb8774
child 65 12af337248b1
equal deleted inserted replaced
59:aba12c885d83 60:96907930389d
   473 // -----------------------------------------------------------------------------      
   473 // -----------------------------------------------------------------------------      
   474 TDesC& CCalenContextImpl::GetCalendarFileNameL() const
   474 TDesC& CCalenContextImpl::GetCalendarFileNameL() const
   475     {
   475     {
   476     TRACE_ENTRY_POINT
   476     TRACE_ENTRY_POINT
   477     TRACE_EXIT_POINT
   477     TRACE_EXIT_POINT
   478     return *iCalenFileName;
   478     if(iCalenFileName)
       
   479         {
       
   480         return *iCalenFileName;
       
   481         }
       
   482     else
       
   483         {
       
   484         return const_cast<TDesC&> (KNullDesC());
       
   485         }
   479     }
   486     }
   480 
   487 
   481 // -----------------------------------------------------------------------------
   488 // -----------------------------------------------------------------------------
   482 // CCalenContextImpl::SetCalendarFileNameL
   489 // CCalenContextImpl::SetCalendarFileNameL
   483 // Set calendar file name to context
   490 // Set calendar file name to context