serviceproviders/sapi_calendar/tsrc/dev/tcalendarprovidertest/tcalendardeleteiter3/src/deleteguid.cpp
equal
deleted
inserted
replaced
295 } |
295 } |
296 else |
296 else |
297 { |
297 { |
298 TRAPD(err1 ,interface->ExecuteCmdL(KCmd, *inparam, *outparam)); |
298 TRAPD(err1 ,interface->ExecuteCmdL(KCmd, *inparam, *outparam)); |
299 const TLiwGenericParam* p = outparam->FindFirst(pos, KErrorCode); // Finding Error Code |
299 const TLiwGenericParam* p = outparam->FindFirst(pos, KErrorCode); // Finding Error Code |
300 TInt errCode; |
300 TInt errCode = 0; |
301 if( p ) |
301 if( p ) |
302 { |
302 { |
303 errCode = p->Value().AsTInt32(); |
303 errCode = p->Value().AsTInt32(); |
304 } |
304 } |
305 inparam->Reset(); |
305 inparam->Reset(); |
371 { |
371 { |
372 __UHEAP_MARK; |
372 __UHEAP_MARK; |
373 CTestAsyncGuid* test = CTestAsyncGuid::NewL(); |
373 CTestAsyncGuid* test = CTestAsyncGuid::NewL(); |
374 int res = test->Start(flag, async); |
374 int res = test->Start(flag, async); |
375 delete test; |
375 delete test; |
|
376 __UHEAP_MARKEND; |
376 return res; |
377 return res; |
377 |
378 |
378 __UHEAP_MARKEND; |
379 |
379 |
380 |
380 } |
381 } |
381 |
382 |