equal
deleted
inserted
replaced
666 { |
666 { |
667 idMap.iId=contact.Id(); |
667 idMap.iId=contact.Id(); |
668 idMap.iMapping=i; |
668 idMap.iMapping=i; |
669 User::LeaveIfError(array.Append(idMap)); |
669 User::LeaveIfError(array.Append(idMap)); |
670 } |
670 } |
|
671 |
|
672 //Always keep server side local view in memory saving mode, so we |
|
673 //change the view contact object stored in iView into lightweight object |
|
674 const_cast<CViewContact&>( contact ).ChangeToLightweightObject(); |
671 } |
675 } |
672 |
676 |
673 // Externalize array to client. |
677 // Externalize array to client. |
674 const TInt count(array.Count()); |
678 const TInt count(array.Count()); |
675 const TInt maxBufSize = (1+(array.Count()*2))*sizeof(TInt); |
679 const TInt maxBufSize = (1+(array.Count()*2))*sizeof(TInt); |