phonebookengines/contactsmodel/cntsrv/src/CViewSubSessions.cpp
branchRCL_3
changeset 8 5586b4d2ec3e
parent 0 e686773b3f54
child 9 0d28c1c5b6dd
--- a/phonebookengines/contactsmodel/cntsrv/src/CViewSubSessions.cpp	Wed Mar 31 21:13:53 2010 +0300
+++ b/phonebookengines/contactsmodel/cntsrv/src/CViewSubSessions.cpp	Wed Apr 14 15:45:35 2010 +0300
@@ -668,6 +668,10 @@
 			idMap.iMapping=i;
 			User::LeaveIfError(array.Append(idMap));
 			}
+			
+        //Always keep server side local view in memory saving mode, so we
+        //change the view contact object stored in iView into lightweight object
+		const_cast<CViewContact&>( contact ).ChangeToLightweightObject();
 		}
 
 	// Externalize array to client.