-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
if (!aList.get())
return false;
for (int i = 0; i < aList->size(); i++) {
- AttributeSelectionPtr aAttr = aList->value(i);
- GeomShapePtr aGeom = aAttr->value();
+ AttributeSelectionPtr aCurAttr = aList->value(i);
+ GeomShapePtr aGeom = aCurAttr->value();
if (!aGeom)
- aGeom = aAttr->context()->shape();
+ aGeom = aCurAttr->context()->shape();
if (aGeom && aGeom->isSameGeometry(theShape))
return true;
}