Salome HOME
Fixed bug in method Value of embedded case
authorsrn <srn@opencascade.com>
Thu, 14 Dec 2006 07:52:27 +0000 (07:52 +0000)
committersrn <srn@opencascade.com>
Thu, 14 Dec 2006 07:52:27 +0000 (07:52 +0000)
src/SALOMEDS/SALOMEDS_AttributeLocalID.cxx

index 0be09d9900134c058b0aa0b2fa51c8b4e787a6e9..9fd94189713f9ce3a70fa40c7c06f7e4ca6b2ba8 100644 (file)
@@ -43,7 +43,7 @@ int SALOMEDS_AttributeLocalID::Value()
   int aValue;
   if (_isLocal) {
     SALOMEDS::Locker lock;
-    aValue = (bool)Handle(SALOMEDSImpl_AttributeLocalID)::DownCast(_local_impl)->Value();
+    aValue = Handle(SALOMEDSImpl_AttributeLocalID)::DownCast(_local_impl)->Value();
   }
   else aValue = SALOMEDS::AttributeLocalID::_narrow(_corba_impl)->Value();
   return aValue;