]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix pb with duplication of PVSERVER service
authorvsr <vsr@opencascade.com>
Fri, 25 Mar 2016 14:47:51 +0000 (17:47 +0300)
committerFlorian BRUNET <florian.brunet@opencascade.com>
Thu, 12 May 2016 09:12:33 +0000 (11:12 +0200)
src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx

index 6bfe12307833a32058c1059f610b334dafff42dc..c36695f7cb830aac7b5f6a0dc59e176618f66cea 100644 (file)
@@ -52,7 +52,9 @@ std::string PVServer_ServiceLoader::findOrLoadService(const char * containerName
 
 std::string PVServer_ServiceLoader::findService(const char * containerName)
 {
-  std::string path = std::string(containerName) + "/PVSERVER";
+  std::string path = "/Containers";
+  path += containerName;
+  path += "/PVSERVER";
   CORBA::Object_ptr obj = _ns->Resolve(path.c_str());
   if(!CORBA::is_nil(obj))
     {