0026720: Coding, STEP - non-conformant names of class fields
[occt.git] / src / RWStepDimTol / RWStepDimTol_RWDatumReferenceElement.cxx
index f5e415f..dc80729 100644 (file)
@@ -103,7 +103,7 @@ void RWStepDimTol_RWDatumReferenceElement::ReadStep (const Handle(StepData_StepR
     Standard_Integer nbElements = data->NbParams(nbSub);
     aModifiers = new StepDimTol_HArray1OfDatumReferenceModifier (1, nbElements);
     for (Standard_Integer i = 1; i <= nbElements; i++) {
-      Interface_ParamType aType = data->ParamType (nbSub, i);
+      aType = data->ParamType (nbSub, i);
       if (aType == Interface_ParamIdent) {
         Handle(StepDimTol_DatumReferenceModifierWithValue) aDRMWV;
         data->ReadEntity(nbSub, i,"datum_reference_modifier_with_value", ach, STANDARD_TYPE(StepDimTol_DatumReferenceModifierWithValue), aDRMWV);