commondrm/drmrightsmanagerui/src/DRMRightsMgrAppUi.cpp
branchRCL_3
changeset 72 1481bf457703
parent 71 1221b68b8a5f
child 81 e9463401011b
equal deleted inserted replaced
71:1221b68b8a5f 72:1481bf457703
  1094             if ( permissionList[i]->iParentUID )
  1094             if ( permissionList[i]->iParentUID )
  1095                 {
  1095                 {
  1096                 if ( i == 0 )
  1096                 if ( i == 0 )
  1097                     {
  1097                     {
  1098                     // No need to check if the parent UID is a duplicate
  1098                     // No need to check if the parent UID is a duplicate
  1099                     parentUidList.AppendL ( permissionList[i]->iParentUID );
  1099                     parentUidList.Append( permissionList[i]->iParentUID );
  1100                     }
  1100                     }
  1101                 else 
  1101                 else 
  1102                     {
  1102                     {
  1103                     // Check parent UID list whether we have already stored the
  1103                     // Check parent UID list whether we have already stored the
  1104                     // UID or not
  1104                     // UID or not
  1130                 }
  1130                 }
  1131                     
  1131                     
  1132             for ( k = 0; k < permissionTempList.Count(); k++ ) 
  1132             for ( k = 0; k < permissionTempList.Count(); k++ ) 
  1133                 {
  1133                 {
  1134                 // Store the pointer to the main list of permissions
  1134                 // Store the pointer to the main list of permissions
  1135                 permissionList.AppendL ( permissionTempList[k] );
  1135                 permissionList.Append( permissionTempList[k] );
  1136                 }    
  1136                 }    
  1137                     
  1137                     
  1138             // Close the temporary pointer array so that the referenced 
  1138             // Close the temporary pointer array so that the referenced 
  1139             // objects of it will not be deleted in the next round of the 
  1139             // objects of it will not be deleted in the next round of the 
  1140             // loop because the method for getting database entries deletes 
  1140             // loop because the method for getting database entries deletes