mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 09:20:35 +05:00
Minimize delta
This commit is contained in:
parent
0604a7961c
commit
2ad3befbcf
@ -59,8 +59,6 @@ extern "C"
|
||||
const char* interfaceName)
|
||||
{
|
||||
GEOM_Gen_Session_i* myGEOM_Gen_i = new GEOM_Gen_Session_i(orb, poa, contId, instanceName, interfaceName);
|
||||
auto id = poa->activate_object(myGEOM_Gen_i);
|
||||
myGEOM_Gen_i->setId(id);
|
||||
return id;
|
||||
return myGEOM_Gen_i->getId();
|
||||
}
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ GEOM_Gen_i::GEOM_Gen_i(CORBA::ORB_ptr orb,
|
||||
Engines_Component_i(orb, poa, contId, instanceName, interfaceName, false, withRegistry)
|
||||
{
|
||||
_thisObj = this;
|
||||
|
||||
_id = _poa->activate_object(_thisObj);
|
||||
_impl = new ::GEOMImpl_Gen;
|
||||
|
||||
//PAL10867: disable signals catching with "noexcepthandler" option
|
||||
|
@ -45,8 +45,7 @@ std::string BuildGEOMInstance()
|
||||
pman->activate();
|
||||
//
|
||||
GEOM_Gen_No_Session_i *servant = new GEOM_Gen_No_Session_i(orb,poa,const_cast<PortableServer::ObjectId*>(&conId.in()),"GEOM_inst_2","GEOM");
|
||||
PortableServer::ObjectId *zeId = poa->activate_object(servant);
|
||||
servant->setId(zeId);
|
||||
PortableServer::ObjectId *zeId = servant->getId();
|
||||
CORBA::Object_var zeRef = poa->id_to_reference(*zeId);
|
||||
char *interfaceName = servant->interfaceName();
|
||||
std::string interfaceNameCpp(interfaceName);
|
||||
|
Loading…
Reference in New Issue
Block a user