X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHEXABLOCKGUI%2FHEXABLOCKGUI_SalomeTools.cxx;h=542cf3e751e8e874ebdad7019664559b509bffe5;hb=dc9efa7dceb4fe9420be3640b0103dd599fbf164;hp=e28580f3d31a73e2a560c3b4d5c1226b164fde31;hpb=ab53385205fe062af0e87d4e14296b1492fe3611;p=modules%2Fhexablock.git diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI_SalomeTools.cxx b/src/HEXABLOCKGUI/HEXABLOCKGUI_SalomeTools.cxx index e28580f..542cf3e 100644 --- a/src/HEXABLOCKGUI/HEXABLOCKGUI_SalomeTools.cxx +++ b/src/HEXABLOCKGUI/HEXABLOCKGUI_SalomeTools.cxx @@ -99,35 +99,6 @@ namespace GUI } - CORBA::Object_var corbaObj( _PTR(SObject) theSO ) - { - CORBA::Object_var aCorbaObj = CORBA::Object::_nil(); - if ( theSO ) { - std::string aValue = theSO->GetIOR(); - if (strcmp(aValue.c_str(), "") != 0) { - CORBA::ORB_ptr anORB = SalomeApp_Application::orb(); - aCorbaObj = anORB->string_to_object(aValue.c_str()); - } - } - return aCorbaObj._retn(); - } - - - CORBA::Object_var corbaObj( const Handle(SALOME_InteractiveObject)& theIO ) - { - CORBA::Object_var aCorbaObj = CORBA::Object::_nil(); - - if ( !theIO.IsNull() && theIO->hasEntry() ){ - _PTR(Study) aStudy = GetActiveStudyDocument(); - _PTR(SObject) aSObj = aStudy->FindObjectID(theIO->getEntry()); - aCorbaObj = corbaObj(aSObj); - } - return aCorbaObj._retn(); - } - - - - SALOME_Actor* findActorByEntry( SVTK_ViewWindow *theVtkViewWindow, const char* theEntry) { SALOME_Actor *foundActor = NULL;