X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_SWIG%2FSMeshHelper.cxx;h=2bfbdd521485d0a46a7a23da68c6346a1ac3e16d;hb=aa034dad38ed214bf71255119d299ec6826588f8;hp=cfa7d7ef8a59a9143c6ab82e8ae355e4534ce479;hpb=1ffd1c1245a946aa45a08b5b7e84e89cb88975fe;p=modules%2Fsmesh.git diff --git a/src/SMESH_SWIG/SMeshHelper.cxx b/src/SMESH_SWIG/SMeshHelper.cxx index cfa7d7ef8..2bfbdd521 100644 --- a/src/SMESH_SWIG/SMeshHelper.cxx +++ b/src/SMESH_SWIG/SMeshHelper.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2021 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2021-2023 CEA, EDF, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -21,21 +21,11 @@ #include "SALOME_KernelServices.hxx" -#include "SMESH_Component_Generator.hxx" - #include #include #include - -std::string BuildSMESHInstanceInternal() -{ - Engines::EngineComponent_var zeRef = RetrieveSMESHInstance(); - CORBA::String_var ior = KERNEL::getORB()->object_to_string(zeRef); - return std::string(ior.in()); -} - std::string GetMGLicenseKeyImpl(const char* gmfFile) { smIdType nbVertex, nbEdge, nbFace, nbVol; @@ -52,7 +42,7 @@ std::string GetMGLicenseKeyImpl(const char* gmfFile) errorTxt ); if ( !errorTxt.empty() ) { - std::cerr << "Error: Pb with MeshGens license: " << errorTxt << std::endl; + std::cerr << "Error: Pb with MeshGems license: " << errorTxt << std::endl; key = "<" + errorTxt + ">"; } return key;