-// Copyright (C) 2017-2021 CEA/DEN, EDF R&D
+// Copyright (C) 2017-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
for (int aGroupIndex = 0; aGroupIndex < aGroupCount; ++aGroupIndex)
{
ResultGroupPtr aResultGroup =
- std::dynamic_pointer_cast<ModelAPI_ResultGroup>((*aDoc)->object(ModelAPI_ResultGroup::group(), aGroupIndex));
+ std::dynamic_pointer_cast<ModelAPI_ResultGroup>(
+ (*aDoc)->object(ModelAPI_ResultGroup::group(), aGroupIndex));
if (!aResultGroup.get() || !aResultGroup->shape().get())
continue;
AttributeSelectionListPtr aNewSelectionList = aNewGroupFeature->selectionList("group_list");
aNewSelectionList->setSelectionType (aSelectionList->selectionType());
- GeomAPI_Shape::ShapeType aTypeOfShape = GeomAPI_Shape::shapeTypeByStr (aSelectionList->selectionType());
+ GeomAPI_Shape::ShapeType aTypeOfShape =
+ GeomAPI_Shape::shapeTypeByStr(aSelectionList->selectionType());
for (int aLocalSelIndex = 0; aLocalSelIndex < aSelectionList->size(); aLocalSelIndex++) {