X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshersGUI%2FStdMeshersGUI_QuadrangleParamWdg.cxx;h=c6905e049046f568f07a47631a574c999fdc5392;hb=97b0a95536e8d44fecc9fda65393dfd325e450f7;hp=aa04fa8c4278f4ec3f6a6ec0f6d30c7123ba5c4e;hpb=0fc0831670e27a5611b941c52dc152fd63964515;p=modules%2Fsmesh.git diff --git a/src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx b/src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx index aa04fa8c4..c6905e049 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx @@ -288,9 +288,7 @@ QString StdMeshersGUI_QuadrangleParamCreator::storeParams() const { QListWidgetItem* item = myShapesList->item(i); QString entry = item->data( Qt::UserRole ).toString(); - Handle(SALOME_InteractiveObject) io = - new SALOME_InteractiveObject( entry.toStdString().c_str(), "GEOM" ); - GEOM::GEOM_Object_var go = GEOMBase::ConvertIOinGEOMObject( io ); + GEOM::GEOM_Object_var go = SMESH::EntryToInterface( entry ); if ( !go->_is_nil() ) goList[ nbShapes++ ] = go; }