supl/locationomasuplprotocolhandler/asnconverterpluginapi/src/epos_comasuplreport.cpp
changeset 39 3efc7a0e8755
parent 22 4c4ed41530db
equal deleted inserted replaced
37:e175e2ba2fb0 39:3efc7a0e8755
   421     {
   421     {
   422     if(iOptionalMask & (1<<KSessionListShift))
   422     if(iOptionalMask & (1<<KSessionListShift))
   423         {
   423         {
   424         for(TInt count = 0; count < iSessionList.Count();count++)
   424         for(TInt count = 0; count < iSessionList.Count();count++)
   425             {
   425             {
   426             aSessionList.Append(iSessionList[count]);
   426             TInt error = aSessionList.Append(iSessionList[count]);
       
   427             if( error != KErrNone )
       
   428                 {
       
   429                 return error;
       
   430                 }
   427             }
   431             }
   428         return KErrNone;
   432         return KErrNone;
   429         }
   433         }
   430     else
   434     else
   431         return KErrOMASuplParamNotSet;
   435         return KErrOMASuplParamNotSet;
   452     {
   456     {
   453     if(iOptionalMask & (1<<KRepDataShift))
   457     if(iOptionalMask & (1<<KRepDataShift))
   454         {
   458         {
   455         for(TInt count = 0; count < iReportDataList.Count();count++)
   459         for(TInt count = 0; count < iReportDataList.Count();count++)
   456             {
   460             {
   457             aReportDataList.Append(iReportDataList[count]);
   461             TInt error = aReportDataList.Append(iReportDataList[count]);
       
   462             if( error != KErrNone )
       
   463                 {
       
   464                 return error;
       
   465                 }
   458             }
   466             }
   459         return KErrNone;
   467         return KErrNone;
   460         }
   468         }
   461     else
   469     else
   462         return KErrOMASuplParamNotSet;
   470         return KErrOMASuplParamNotSet;