equal
deleted
inserted
replaced
522 //continue with multiple searach and it should be limited by internal |
522 //continue with multiple searach and it should be limited by internal |
523 //invocation of FindSettingWithType. |
523 //invocation of FindSettingWithType. |
524 if(aNum == 1) |
524 if(aNum == 1) |
525 { |
525 { |
526 TSettingRef sref(0,0); |
526 TSettingRef sref(0,0); |
|
527 TSettingType types[1]; |
527 TSettingType* pTypes; |
528 TSettingType* pTypes; |
528 |
529 |
529 //aTypes array is optional and user may not provided it for us. So we |
530 //aTypes array is optional and user may not provided it for us. So we |
530 //need to be sure it's not a null pointer |
531 //need to be sure it's not a null pointer |
531 if(aTypes == NULL) |
532 if(aTypes == NULL) |
532 { |
533 { |
533 //If this is a null pointer then just create our own element and |
534 //If this is a null pointer then just create our own element and |
534 //assign it to the pTypes pointer |
535 //assign it to the pTypes pointer |
535 TSettingType types[1]; |
|
536 pTypes = types; |
536 pTypes = types; |
537 } |
537 } |
538 else |
538 else |
539 { |
539 { |
540 //else we use the user supplied array |
540 //else we use the user supplied array |