mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-24 01:37:56 +05:00
small modif
This commit is contained in:
parent
5534e5c4aa
commit
260f90385f
@ -19,16 +19,13 @@
|
||||
|
||||
#include "GeomHelper.h"
|
||||
|
||||
#include "SALOME_KernelServices.hxx"
|
||||
|
||||
#include "GEOM_Component_Generator.hxx"
|
||||
|
||||
std::string BuildGEOMInstance()
|
||||
{
|
||||
CORBA::ORB_var orb;
|
||||
{
|
||||
int argc(0);
|
||||
orb = CORBA::ORB_init(argc, nullptr);
|
||||
}
|
||||
Engines::EngineComponent_var zeRef = RetrieveGEOMInstance();
|
||||
CORBA::String_var ior = orb->object_to_string(zeRef);
|
||||
CORBA::String_var ior = KERNEL::getORB()->object_to_string(zeRef);
|
||||
return std::string(ior.in());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user