X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_Utils.cxx;h=5721e5301dea6f61a2a6838b2a1c92d618837a15;hb=e15a3a87cc738a5e3da00b3e09e7c8e17d733dc7;hp=b8e679e67f231d07479a8c303518db022964ae03;hpb=32d14d3084a1357854e927937452545c32fba7eb;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_Utils.cxx b/src/SMESHGUI/SMESHGUI_Utils.cxx index b8e679e67..5721e5301 100644 --- a/src/SMESHGUI/SMESHGUI_Utils.cxx +++ b/src/SMESHGUI/SMESHGUI_Utils.cxx @@ -226,6 +226,12 @@ namespace SMESH return app->orb()->string_to_object(theIOR.toLatin1().data()); } + CORBA::Object_var EntryToObject( const QString& theEntry ) + { + _PTR(SObject) anObj = getStudy()->FindObjectID( theEntry.toLatin1().data() ); + return SObjectToObject(anObj); + } + int GetNameOfSelectedIObjects(LightApp_SelectionMgr* theMgr, QString& theName) { if (!theMgr)