X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_MG_ADAPTDRIVER.cxx;fp=src%2FSMESHGUI%2FSMESHGUI_MG_ADAPTDRIVER.cxx;h=0025f57510662454394c90cfebfc262c2536c11f;hb=8196d751b1e8edaa53acca65c062e5b897ca69a0;hp=56180d0436a9d987481a68563212ec058c79bd2a;hpb=456850beda350181d4af970ac59b64c55cde20e3;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_MG_ADAPTDRIVER.cxx b/src/SMESHGUI/SMESHGUI_MG_ADAPTDRIVER.cxx index 56180d043..0025f5751 100644 --- a/src/SMESHGUI/SMESHGUI_MG_ADAPTDRIVER.cxx +++ b/src/SMESHGUI/SMESHGUI_MG_ADAPTDRIVER.cxx @@ -376,7 +376,8 @@ bool SMESHGUI_MG_ADAPTDRIVER::execute() char* errStr; try { - err = getModel()->compute(errStr); + err = getModel()->compute(); + errStr = getModel()->getErrMsg(); std::string msg = err == 0 ? " ok" : std::string("Not ok \n")+CORBA::string_dup(errStr) ; } catch (const std::exception& e)