Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeLocalID_i.cxx
index 45bd9f4397ceaf55af63af0cc0cf5db48b6ecfd1..3163addec45fd1eea3cf9bd65715e6251ed1d246 100644 (file)
@@ -30,13 +30,13 @@ using namespace std;
 CORBA::Long SALOMEDS_AttributeLocalID_i::Value() 
 {
   SALOMEDS::Locker lock;
-  return Handle(SALOMEDSImpl_AttributeLocalID)::DownCast(_impl)->Value();
+  return dynamic_cast<SALOMEDSImpl_AttributeLocalID*>(_impl)->Value();
 }
                                                            
 void SALOMEDS_AttributeLocalID_i::SetValue(CORBA::Long value) 
 {
   SALOMEDS::Locker lock;
   CheckLocked();
-  Handle(SALOMEDSImpl_AttributeLocalID)::DownCast(_impl)->SetValue(value);
+  dynamic_cast<SALOMEDSImpl_AttributeLocalID*>(_impl)->SetValue(value);
 }