pimappsupport/chinesecalendaralg/calcontablesrc/CalconTable.cpp
branchRCL_3
changeset 65 12af337248b1
parent 12 38571fd2a704
child 66 bd7edf625bdd
equal deleted inserted replaced
60:96907930389d 65:12af337248b1
    76 
    76 
    77 //Move near the end of the current month
    77 //Move near the end of the current month
    78 	time+=TTimeIntervalDays(27);
    78 	time+=TTimeIntervalDays(27);
    79 	TBool hadLeapMonth=EFalse;	
    79 	TBool hadLeapMonth=EFalse;	
    80 
    80 
    81 	iSession.Connect();
    81 	User::LeaveIfError(iSession.Connect());
    82 	TInt err=iFile.Replace(iSession, _L("c:\\calcondata.cpp"), EFileShareExclusive);
    82 	TInt err=iFile.Replace(iSession, _L("c:\\calcondata.cpp"), EFileShareExclusive);
    83 	if (err!=KErrNone)
    83 	if (err!=KErrNone)
    84 		return;
    84 		return;
    85 
    85 
    86 	err=iFile2.Replace(iSession, _L("c:\\calcondata.h"), EFileShareExclusive);
    86 	err=iFile2.Replace(iSession, _L("c:\\calcondata.h"), EFileShareExclusive);