Salome HOME
refs #1330: basic implementation of the not zoomable polyline arrows
[modules/hydro.git] / src / HYDROData / HYDROData_Object.cxx
index 7745ee0f0a9eb885e9ea98de3e6b4d15de3c788a..0f6776241e7b4cf3fb4b1749f6d5d56820534db8 100644 (file)
@@ -32,7 +32,6 @@
 #define _DEVDEBUG_
 #include "HYDRO_trace.hxx"
 
-IMPLEMENT_STANDARD_HANDLE(HYDROData_Object,HYDROData_Entity)
 IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Object,HYDROData_Entity)
 
 HYDROData_Object::HYDROData_Object( Geometry theGeometry )
@@ -184,7 +183,7 @@ int HYDROData_Object::GetGroupId( const Handle(HYDROData_ShapesGroup)& theGroup
   {
     Handle(HYDROData_ShapesGroup) aGroup =
       Handle(HYDROData_ShapesGroup)::DownCast( aGroups.Value( i ) );
-    if ( IsEqual( theGroup, aGroup ) )
+    if ( theGroup->CompareLabels ( aGroup ) )
     {
       aRes = i - 1;
       break;