Make return an empty compound for an empty group
where list == [-1]
}
/* Case of only one subshape, excluding groups of one main shape */
}
/* Case of only one subshape, excluding groups of one main shape */
- if ( list->length() == 1 && !(aShape->GetType() == 37 && list[0] == 1) ) {
- if (list[0] > 0)
- S = subShapes[list[0]-1];
+ if ( list->length() == 1 &&
+ !(aShape->GetType() == 37 && list[0] == 1) &&
+ list[0] > 0 ) {
+ S = subShapes[list[0]-1];