pimappservices/calendar/server/src/agsasyncdelete.cpp
branchRCL_3
changeset 13 1984aceb8774
parent 10 38571fd2a704
equal deleted inserted replaced
11:0f07cd1b5772 13:1984aceb8774
   286 			const TInt KCount = KChildIds.Count();
   286 			const TInt KCount = KChildIds.Count();
   287 			// Check each child to see if they are all fall in the date range
   287 			// Check each child to see if they are all fall in the date range
   288 			for (TInt i = 0; i < KCount && todelete; ++i)
   288 			for (TInt i = 0; i < KCount && todelete; ++i)
   289 				{
   289 				{
   290 				const CAgnSimpleEntry* KChildEntry = iModel.GetSimpleEntryFromIndexes(KChildIds[i].ChildId());
   290 				const CAgnSimpleEntry* KChildEntry = iModel.GetSimpleEntryFromIndexes(KChildIds[i].ChildId());
   291 				todelete = FallInTimeRangeL(*KChildEntry);
   291 				if(KChildEntry != NULL)
       
   292 				    {
       
   293                     todelete = FallInTimeRangeL(*KChildEntry);
       
   294 				    }
       
   295 				
   292 				}
   296 				}
   293 			}
   297 			}
   294 
   298 
   295 	#if defined (__CAL_ENTRY_LOGGING__) || (__CAL_VERBOSE_LOGGING__)
   299 	#if defined (__CAL_ENTRY_LOGGING__) || (__CAL_VERBOSE_LOGGING__)
   296 		if(todelete)
   300 		if(todelete)