--- 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);
}
}