From: vsr Date: Fri, 25 Mar 2016 14:47:51 +0000 (+0300) Subject: Fix pb with duplication of PVSERVER service X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e9b35e2fd4950c10209e206187709161a0352a2a;p=modules%2Fgui.git Fix pb with duplication of PVSERVER service --- diff --git a/src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx b/src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx index 6bfe12307..c36695f7c 100644 --- a/src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx +++ b/src/PVServerService/ServiceLoader/PVServer_ServiceLoader.cxx @@ -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)) {