From: srn Date: Thu, 14 Dec 2006 07:52:27 +0000 (+0000) Subject: Fixed bug in method Value of embedded case X-Git-Tag: SALOMEDS_UnitTests_1_2~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e77191344e14f49bfab763fcfb5adfbe3a76c763;p=modules%2Fkernel.git Fixed bug in method Value of embedded case --- diff --git a/src/SALOMEDS/SALOMEDS_AttributeLocalID.cxx b/src/SALOMEDS/SALOMEDS_AttributeLocalID.cxx index 0be09d990..9fd941897 100644 --- a/src/SALOMEDS/SALOMEDS_AttributeLocalID.cxx +++ b/src/SALOMEDS/SALOMEDS_AttributeLocalID.cxx @@ -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;