supl/locationomasuplprotocolhandler/asnconverterpluginapi/src/epos_comasuplreport.cpp
changeset 39 3efc7a0e8755
parent 22 4c4ed41530db
--- a/supl/locationomasuplprotocolhandler/asnconverterpluginapi/src/epos_comasuplreport.cpp	Fri Jul 23 19:40:48 2010 +0530
+++ b/supl/locationomasuplprotocolhandler/asnconverterpluginapi/src/epos_comasuplreport.cpp	Fri Aug 06 19:34:22 2010 +0530
@@ -423,7 +423,11 @@
         {
         for(TInt count = 0; count < iSessionList.Count();count++)
             {
-            aSessionList.Append(iSessionList[count]);
+            TInt error = aSessionList.Append(iSessionList[count]);
+            if( error != KErrNone )
+                {
+                return error;
+                }
             }
         return KErrNone;
         }
@@ -454,7 +458,11 @@
         {
         for(TInt count = 0; count < iReportDataList.Count();count++)
             {
-            aReportDataList.Append(iReportDataList[count]);
+            TInt error = aReportDataList.Append(iReportDataList[count]);
+            if( error != KErrNone )
+                {
+                return error;
+                }
             }
         return KErrNone;
         }