Salome HOME
Merge multi-study removal branch.
[samples/atomsolv.git] / src / ATOMSOLVGUI / ATOMSOLVGUI_DataModel.cxx
index 2a4853f5d939e4008c85a2a444839e2187047743..9de2d1bcf1a9d8a8c6a1045680d2ede3c8ffcbaf 100644 (file)
@@ -49,9 +49,8 @@ void ATOMSOLVGUI_DataModel::build()
   // create 'molecule' objects under model root object and 'atom' objects under 'molecule'-s
   ATOMSOLV_ORB::ATOMSOLV_Gen_var engine = ATOMSOLVGUI::GetATOMSOLVGen();
   if ( !CORBA::is_nil( engine ) ) {
-    const int studyID = getStudy()->id();
     ATOMSOLV_ORB::TMoleculeList_var molecules;
-    if ( !engine->getData( studyID, molecules ) ) {
+    if ( !engine->getData( molecules ) ) {
       //      printf( " -- DataModel: getData() returned false! \n" );
       return;
     }