locationtriggering/ltclientlib/src/lbtgeowcdmacell.cpp
changeset 39 3efc7a0e8755
parent 0 667063e416a2
child 45 6b6920c56e2f
child 50 4c28d569e1fe
--- a/locationtriggering/ltclientlib/src/lbtgeowcdmacell.cpp	Fri Jul 23 19:40:48 2010 +0530
+++ b/locationtriggering/ltclientlib/src/lbtgeowcdmacell.cpp	Fri Aug 06 19:34:22 2010 +0530
@@ -125,7 +125,11 @@
     for(TInt i=0;i<aWcdmaCellInfo.iMeasurementResult.Count();++i)
     	{
     	TLbtWcdmaCellInfo::TLbtCellMeasuredResult nmr = aWcdmaCellInfo.iMeasurementResult[i];
-    	iCellInfo.iMeasurementResult.Append(nmr);
+    	TInt error = iCellInfo.iMeasurementResult.Append(nmr);
+    	if( error != KErrNone )
+    	    {
+            return;
+    	    }
     	}    
     }
     
@@ -193,6 +197,6 @@
         TLbtWcdmaCellInfo::TLbtCellMeasuredResult cellMeas;
         cellMeas.iEcNo = aStream.ReadInt16L();
         cellMeas.iRscp = aStream.ReadInt16L();
-        iCellInfo.iMeasurementResult.Append(cellMeas);
+        iCellInfo.iMeasurementResult.AppendL(cellMeas);
         }
     }