multimediacommsengine/mmcesrv/mmceserver/src/mcesipmanager.cpp
branchRCL_3
changeset 18 91f50911ea81
parent 0 1bce908db942
equal deleted inserted replaced
17:a5ac35ca6d81 18:91f50911ea81
  1082 									 "newProfile", (TInt)&aNewProfile )
  1082 									 "newProfile", (TInt)&aNewProfile )
  1083 				subSessions[ j ]->SetProfile( aNewProfile );
  1083 				subSessions[ j ]->SetProfile( aNewProfile );
  1084 				}
  1084 				}
  1085 			}
  1085 			}
  1086 		}
  1086 		}
       
  1087 
       
  1088 	// Update orphan subsessions
       
  1089     RPointerArray<CMceCsSubSession>& orphanSubSessions = iOrphanSubSessions->SubSessions();
       
  1090     TInt orphanSubSessionCount = orphanSubSessions.Count();
       
  1091 	
       
  1092     for ( TInt j = 0; j < orphanSubSessionCount; ++j )
       
  1093         {
       
  1094         CSIPProfile& subSessionProfile = orphanSubSessions[ j ]->Profile();
       
  1095         if ( &subSessionProfile == &aOldProfile )
       
  1096             {
       
  1097             MCESRV_DEBUG_DVALUE("update orphan subsession profile, j", j )
       
  1098             MCESRV_DEBUG_DVALUES("oldProfile", (TInt)&aOldProfile,
       
  1099                                  "newProfile", (TInt)&aNewProfile )
       
  1100             orphanSubSessions[ j ]->SetProfile( aNewProfile );
       
  1101             }
       
  1102         }
  1087 	MCESRV_DEBUG("CMceSipManager::UpdateProfileToSubSessions, Exit")
  1103 	MCESRV_DEBUG("CMceSipManager::UpdateProfileToSubSessions, Exit")
  1088 	}
  1104 	}