equal
deleted
inserted
replaced
404 TBool xspidIsDes = EFalse; |
404 TBool xspidIsDes = EFalse; |
405 TBool atleastOneField = EFalse; |
405 TBool atleastOneField = EFalse; |
406 //iDburi = HBufC::NewL(VPbkContactStoreUris::DefaultCntDbUri().Length()); |
406 //iDburi = HBufC::NewL(VPbkContactStoreUris::DefaultCntDbUri().Length()); |
407 //set the DBUri to the default value. |
407 //set the DBUri to the default value. |
408 //iDburi->Des().Copy(VPbkContactStoreUris::DefaultCntDbUri()); |
408 //iDburi->Des().Copy(VPbkContactStoreUris::DefaultCntDbUri()); |
409 if(iDburi) |
409 iDburi = GetDefaultDBUri().AllocLC(); |
410 { |
|
411 delete iDburi; |
|
412 iDburi=NULL; |
|
413 } |
|
414 iDburi = GetDefaultDBUri().AllocL(); |
|
415 //get the number of entries in the map |
410 //get the number of entries in the map |
416 TInt keyCount = aMap->Count(); |
411 TInt keyCount = aMap->Count(); |
417 |
412 |
418 for(TInt index=0;index<keyCount;index++) |
413 for(TInt index=0;index<keyCount;index++) |
419 { |
414 { |
1781 else |
1776 else |
1782 { |
1777 { |
1783 User::Leave(err); |
1778 User::Leave(err); |
1784 } |
1779 } |
1785 } |
1780 } |
1786 //CleanupStack::Pop(); |
1781 CleanupStack::Pop(); |
1787 CleanupStack::Pop(contact); |
1782 CleanupStack::Pop(contact); |
1788 } //end of if pMap |
1783 } //end of if pMap |
1789 else |
1784 else |
1790 { |
1785 { |
1791 aOutParamList.AppendL(TLiwGenericParam(KErrorMessage, |
1786 aOutParamList.AppendL(TLiwGenericParam(KErrorMessage, |