From: Anthony Geay Date: Sat, 16 Jan 2021 05:02:42 +0000 (+0100) Subject: First SMESH/GEOM case OK without external Server connection X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fagy%2Farchi2_0;p=modules%2Fkernel.git First SMESH/GEOM case OK without external Server connection --- diff --git a/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx b/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx index b5de2b0d9..3f0c74dbe 100644 --- a/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx +++ b/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx @@ -66,8 +66,8 @@ SALOME_ModuleCatalog::ModuleCatalog_ptr KERNEL::getModuleComponentServantSA() if(CORBA::is_nil(moduleCata)) { CORBA::ORB_ptr orb = KERNEL::getORB(); - char *argv[4] = {"SALOME_ModuleCatalog_Server","-common","\"/home/H87074/salomeDEV/DEV2/share/salome/resources/geom/GEOMCatalog.xml\"::\"/home/H87074/salomeDEV/DEV2/share/salome/resources/smesh/SMESHCatalog.xml\"",nullptr}; - SALOME_ModuleCatalogImpl *servant = new SALOME_ModuleCatalogImpl(3,argv,orb); + char *argv[3] = {"SALOME_ModuleCatalog_Server",nullptr}; + SALOME_ModuleCatalogImpl *servant = new SALOME_ModuleCatalogImpl(1,argv,orb); moduleCata = servant->_this(); } return SALOME_ModuleCatalog::ModuleCatalog::_duplicate(moduleCata);