#include "HYDROGUI_Prs.h"
#include <HYDROData_Document.h>
-#include <HYDROData_Image.h>
#include <HYDROData_Iterator.h>
#include <LightApp_Application.h>
if( aDocument.IsNull() )
return;
- HYDROData_Iterator anIterator( aDocument, KIND_IMAGE );
+ HYDROData_Iterator anIterator( aDocument, KIND_UNKNOWN );
for( ; anIterator.More(); anIterator.Next() )
{
- Handle(HYDROData_Image) anImageObj =
- Handle(HYDROData_Image)::DownCast( anIterator.Current() );
- if( !anImageObj.IsNull() )
- theSeq.Append( anImageObj );
+ Handle(HYDROData_Object) anObject = anIterator.Current();
+ if( !anObject.IsNull() )
+ theSeq.Append( anObject );
}
}