]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Code refactoring
authorvsr <vsr@opencascade.com>
Wed, 29 Dec 2010 13:17:10 +0000 (13:17 +0000)
committervsr <vsr@opencascade.com>
Wed, 29 Dec 2010 13:17:10 +0000 (13:17 +0000)
src/SMESHGUI/SMESHGUI_GroupDlg.cxx

index 1aab1f908c42171e8fdb5ecdd79fa1a411e8bbad..2dbf37e6a2ca595da3aa57cf4372b26017ac6dfd 100644 (file)
@@ -1187,11 +1187,10 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged()
       SALOME_ListIteratorOfListIO anIt (aList);
       for (; anIt.More(); anIt.Next())
       {
-        testResult = Standard_False;
-        aGeomGroup = GEOMBase::ConvertIOinGEOMObject(anIt.Value(), testResult);
+        aGeomGroup = GEOMBase::ConvertIOinGEOMObject(anIt.Value());
 
         // Check if the object is a geometry group
-        if (!testResult || CORBA::is_nil(aGeomGroup))
+        if (CORBA::is_nil(aGeomGroup))
           continue;
 
         // Check if group constructed on the same shape as a mesh or on its child