Salome HOME
Image positioning by two points.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_DeleteOp.cxx
index 8df9ef26cf8cccff6f0b0d8acc4ddfe2ac75f260..704fa4e34d8b55b88748fa0e440cb34c39cf03f4 100644 (file)
@@ -55,7 +55,7 @@ void HYDROGUI_DeleteOp::startOperation()
   {
     for( Standard_Integer anIndex = 1, aLength = aSeq.Length(); anIndex <= aLength; anIndex++ )
     {
-      Handle(HYDROData_Object) anObject = aSeq.Value( anIndex );
+      Handle(HYDROData_Entity) anObject = aSeq.Value( anIndex );
       if( !anObject.IsNull() )
       {
         aFullSeq.Append( anObject );
@@ -93,7 +93,7 @@ void HYDROGUI_DeleteOp::startOperation()
   startDocOperation();
   for( Standard_Integer anIndex = 1, aLength = aFullSeq.Length(); anIndex <= aLength; anIndex++ )
   {
-    Handle(HYDROData_Object) anObject = aFullSeq.Value( anIndex );
+    Handle(HYDROData_Entity) anObject = aFullSeq.Value( anIndex );
     if( !anObject.IsNull() && !anObject->IsRemoved() )
       anObject->Remove();
   }