diff -r 579cc610882e -r ef813d54df51 pimappsupport/chinesecalendaralg/calcontablesrc/CalconTable.cpp --- a/pimappsupport/chinesecalendaralg/calcontablesrc/CalconTable.cpp Tue Jul 06 14:14:56 2010 +0300 +++ b/pimappsupport/chinesecalendaralg/calcontablesrc/CalconTable.cpp Wed Aug 18 09:47:38 2010 +0300 @@ -78,7 +78,7 @@ time+=TTimeIntervalDays(27); TBool hadLeapMonth=EFalse; - iSession.Connect(); + User::LeaveIfError(iSession.Connect()); TInt err=iFile.Replace(iSession, _L("c:\\calcondata.cpp"), EFileShareExclusive); if (err!=KErrNone) return;