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