Salome HOME
Remove the use of getlogin.
[modules/yacs.git] / src / genericgui / EditionComponent.cxx
old mode 100755 (executable)
new mode 100644 (file)
index ea0eea5..37d7bb4
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2020  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
@@ -104,7 +104,7 @@ void EditionComponent::changeContainer(int index)
       return;
     }
   Container *newContainer =proc->containerMap[contName];
-  SubjectContainer *scnt = GuiContext::getCurrent()->_mapOfSubjectContainer[newContainer];
+  SubjectContainerBase *scnt = GuiContext::getCurrent()->_mapOfSubjectContainer[newContainer];
   scompo->associateToContainer(scnt);
   scompo->select(true);
 }