-// 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;