pimappsupport/chinesecalendaralg/calcontablesrc/CalconTable.cpp
changeset 51 0b38fc5b94c6
parent 18 c198609911f9
child 66 bd7edf625bdd
equal deleted inserted replaced
46:ecd7b9840282 51:0b38fc5b94c6
    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);