Salome HOME
projects
/
modules
/
homard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b22e22d
)
bos #26457 Factorization of ORB initialization
vuzlov/26457
author
vsr
<vsr@opencascade.com>
Tue, 19 Oct 2021 12:40:12 +0000
(15:40 +0300)
committer
vsr
<vsr@opencascade.com>
Tue, 19 Oct 2021 12:40:12 +0000
(15:40 +0300)
src/HOMARDGUI/HOMARDGUI.cxx
patch
|
blob
|
history
diff --git
a/src/HOMARDGUI/HOMARDGUI.cxx
b/src/HOMARDGUI/HOMARDGUI.cxx
index 480dff2427364969839c7b17008b1098b9a36726..a0759a26c39b1f665e697a6931860bf6c40c3bbe 100644
(file)
--- a/
src/HOMARDGUI/HOMARDGUI.cxx
+++ b/
src/HOMARDGUI/HOMARDGUI.cxx
@@
-24,8
+24,7
@@
#include "HOMARDGUI.h"
// SALOME Includes
-#include "Utils_ORB_INIT.hxx"
-#include "Utils_SINGLETON.hxx"
+#include "OpUtil.hxx"
#include "SALOME_LifeCycleCORBA.hxx"
#include "SUIT_ResourceMgr.h"
@@
-721,9
+720,7
@@
void HOMARDGUI::setOrb()
{
try
{
- ORB_INIT &init = *SINGLETON_<ORB_INIT>::Instance();
- ASSERT(SINGLETON_<ORB_INIT>::IsAlreadyExisting());
- _orb = init( 0 , 0 );
+ _orb = KERNEL::GetRefToORB();
}
catch (...)
{