-
- if( pSubGeom ) {
- SALOMEDS_SObject* sobj = _CAST(SObject,pSubGeom);
- if( sobj ) {
- GEOM::GEOM_Object_var aSubGeomVar =
- GEOM::GEOM_Object::_narrow(sobj->GetObject());
- if( !aSubGeomVar->_is_nil() ){
- aSeq[iSubSh] = aSubGeomVar;
- }
- }
- }
+
+ if( pSubGeom ) {
+ SALOMEDS_SObject* sobj = _CAST(SObject,pSubGeom);
+ if( sobj ) {
+ GEOM::GEOM_Object_var aSubGeomVar =
+ GEOM::GEOM_Object::_narrow(sobj->GetObject());
+ if( !aSubGeomVar->_is_nil() ){
+ aSeq[iSubSh] = aSubGeomVar;
+ }
+ }
+ }