commsconfig/commsdatabaseshim/commdbshim/SCDB/commdb_impl.cpp
branchRCL_3
changeset 21 07656293a99c
parent 0 dfb7c4ff071f
--- a/commsconfig/commsdatabaseshim/commdbshim/SCDB/commdb_impl.cpp	Wed Jun 09 11:00:38 2010 +0300
+++ b/commsconfig/commsdatabaseshim/commdbshim/SCDB/commdb_impl.cpp	Mon Jun 21 17:02:22 2010 +0300
@@ -362,7 +362,7 @@
 	User::LeaveIfError(recSet->iRecords.Append(aConnPref));
 	
 	iCurrentRecord = recSet->iRecords[recSet->iRecords.Count()-1];
-	iInsertedRecords.Insert(iCurrentRecord->RecordId(), KFirstRecord);
+	iInsertedRecords.InsertL(iCurrentRecord->RecordId(), KFirstRecord);
 	
 	TInt index = iDeletedRecords.Find(iCurrentRecord->RecordId());
 	
@@ -451,7 +451,7 @@
 	CleanupStack::Pop(newRecord);
 	
 	iCurrentRecord = newRecord;
-	iInsertedRecords.Insert(iCurrentRecord->RecordId(), KFirstRecord);
+	iInsertedRecords.InsertL(iCurrentRecord->RecordId(), KFirstRecord);
 	SortById();
 	
 	aId = newRecord->RecordId();