From: vsr Date: Fri, 25 Mar 2016 14:47:51 +0000 (+0300) Subject: Fix pb with duplication of PVSERVER service X-Git-Tag: V7_8_0a2~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3ca62af89367036a5eff1e9737ef884e3e6bb16e;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 6f8171471..80582dbfe 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)) {