for ( int i = 0, n = theRefObjects.length(); i < n; ++i )
{
const QString& anObjName = theRefObjects.at( i );
- Handle(HYDROData_Object) aRefObject =
- Handle(HYDROData_Object)::DownCast( theDoc->FindObjectByName( anObjName ) );
+ Handle(HYDROData_Entity) aRefObject = theDoc->FindObjectByName( anObjName );
if ( aRefObject.IsNull() )
continue;
HYDROData_SequenceOfObjects::Iterator anIter( aSeq );
for ( ; anIter.More(); anIter.Next() )
{
- Handle(HYDROData_Object) aRefGeomObj =
- Handle(HYDROData_Object)::DownCast( anIter.Value() );
+ Handle(HYDROData_Entity) aRefGeomObj =
+ Handle(HYDROData_Entity)::DownCast( anIter.Value() );
if ( !aRefGeomObj.IsNull() )
{
// Get Ref.Object name