Salome HOME
Modifications to properly handle parallel compute for 2D
[modules/smesh.git] / src / SMESH_SWIG / SMeshHelper.cxx
index cfa7d7ef8a59a9143c6ab82e8ae355e4534ce479..2bfbdd521485d0a46a7a23da68c6346a1ac3e16d 100644 (file)
@@ -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
 
 #include "SALOME_KernelServices.hxx"
 
-#include "SMESH_Component_Generator.hxx"
-
 #include <cstring>
 
 #include <DriverGMF_Read.hxx>
 #include <SMESH_MGLicenseKeyGen.hxx>
 
-
-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;