]> 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)
committervsr <vsr@opencascade.com>
Fri, 25 Mar 2016 14:47:51 +0000 (17:47 +0300)
src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx

index 6f8171471b32b9eb73d88bdab5112f7b1652551c..80582dbfe4d5c5ecbc27af45fb45500328f623f6 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))
     {