supl/locationomasuplprotocolhandler/asnconverterpluginapi/src/epos_comasupllocationidver2.cpp
branchRCL_3
changeset 44 2b4ea9893b66
parent 0 667063e416a2
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
    83 // -----------------------------------------------------------------------------
    83 // -----------------------------------------------------------------------------
    84 //
    84 //
    85 EXPORT_C COMASuplLocationIdVer2* COMASuplLocationIdVer2::CloneL()
    85 EXPORT_C COMASuplLocationIdVer2* COMASuplLocationIdVer2::CloneL()
    86     {
    86     {
    87     COMASuplLocationIdVer2* retLocationId = COMASuplLocationIdVer2::NewL();
    87     COMASuplLocationIdVer2* retLocationId = COMASuplLocationIdVer2::NewL();
       
    88     CleanupStack::PushL( retLocationId );
    88     if(iIsV2ExtnSet)
    89     if(iIsV2ExtnSet)
    89         {
    90         {
    90         retLocationId->COMASuplLocationIdVer2::SetVer2CellInfo(iOMASuplVer2CellInfoExtn);
    91         retLocationId->COMASuplLocationIdVer2::SetVer2CellInfo(iOMASuplVer2CellInfoExtn);
    91         }
    92         }
    92     TInt refMNC,refMCC,refCI,refLac;
    93     TInt refMNC,refMCC,refCI,refLac;
   109             retLocationId->SetSuplLocationId(cellInfo,iStatus);
   110             retLocationId->SetSuplLocationId(cellInfo,iStatus);
   110             }
   111             }
   111             break;
   112             break;
   112                     
   113                     
   113         }
   114         }
       
   115     CleanupStack::Pop(retLocationId);
   114     return retLocationId;
   116     return retLocationId;
   115     }
   117     }
   116 // -----------------------------------------------------------------------------
   118 // -----------------------------------------------------------------------------
   117 // COMASuplLocationIdVer2::SetVer2CellInfo
   119 // COMASuplLocationIdVer2::SetVer2CellInfo
   118 // (other items were commented in a header).
   120 // (other items were commented in a header).
   144     }
   146     }
   145 // ---------------------------------------------------------------------------
   147 // ---------------------------------------------------------------------------
   146 // TOMASuplReportedLocation::SetLocationData(TOMASuplLocationData aLocationData)
   148 // TOMASuplReportedLocation::SetLocationData(TOMASuplLocationData aLocationData)
   147 // (other items were commented in a header).
   149 // (other items were commented in a header).
   148 // ---------------------------------------------------------------------------
   150 // ---------------------------------------------------------------------------
   149 //
   151 
       
   152 //coverity[pass_by_value]
   150 EXPORT_C void TOMASuplReportedLocation::SetLocationData(TOMASuplLocationData aLocationData) 
   153 EXPORT_C void TOMASuplReportedLocation::SetLocationData(TOMASuplLocationData aLocationData) 
   151     {
   154     {
   152     iLocationData = aLocationData;
   155     iLocationData = aLocationData;
   153     }
   156     }
   154 // ---------------------------------------------------------------------------
   157 // ---------------------------------------------------------------------------