supl/locationomasuplprotocolhandler/asnconverterpluginapi/src/epos_comasuplsessionid.cpp
branchRCL_3
changeset 44 2b4ea9893b66
parent 0 667063e416a2
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
   131 		}
   131 		}
   132 	}
   132 	}
   133 EXPORT_C COMASuplSessionID* COMASuplSessionID::CloneL()
   133 EXPORT_C COMASuplSessionID* COMASuplSessionID::CloneL()
   134     {
   134     {
   135     COMASuplSessionID* suplSessionIdToReturn = COMASuplSessionID::NewL();
   135     COMASuplSessionID* suplSessionIdToReturn = COMASuplSessionID::NewL();
       
   136     CleanupStack::PushL( suplSessionIdToReturn );
   136     if(iSETSessionID)
   137     if(iSETSessionID)
   137         suplSessionIdToReturn->SetSETSessionID(iSETSessionID->CloneL());
   138         suplSessionIdToReturn->SetSETSessionID(iSETSessionID->CloneL());
   138     if(iSLPSessionID)
   139     if(iSLPSessionID)
   139         suplSessionIdToReturn->SetSLPSessionID(iSLPSessionID->CloneL());
   140         suplSessionIdToReturn->SetSLPSessionID(iSLPSessionID->CloneL());
       
   141     
       
   142     CleanupStack::Pop(suplSessionIdToReturn);
       
   143     
   140     return suplSessionIdToReturn;
   144     return suplSessionIdToReturn;
   141     }
   145     }
   142 // -----------------------------------------------------------------------------
   146 // -----------------------------------------------------------------------------
   143 // COMASuplSessionID::COMASuplSessionID() 
   147 // COMASuplSessionID::COMASuplSessionID() 
   144 // (other items were commented in a header).
   148 // (other items were commented in a header).