Salome HOME
Addition of new reference coords including degenerated cells.
[modules/med.git] / src / MEDCouplingCorba / MEDCouplingMeshServant.cxx
index e03feb68bda05f1174603c9c0dbdfe6416790d4a..f2fc2f832c7ea1ada73eb95033b2e1fecb0f1e04 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2013  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -16,6 +16,7 @@
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+// Author : Anthony Geay (CEA/DEN)
 
 #include "MEDCouplingMeshServant.hxx"
 #include "InterpKernelException.hxx"
@@ -30,7 +31,7 @@ MEDCouplingMeshServant::MEDCouplingMeshServant(const MEDCouplingMesh *cppPointer
 
 char *MEDCouplingMeshServant::getName()
 {
-  return CORBA::string_dup(getPointer()->getName());
+  return CORBA::string_dup(getPointer()->getName().c_str());
 }
 
 void MEDCouplingMeshServant::getTinyInfo(SALOME_TYPES::ListOfDouble_out da, SALOME_TYPES::ListOfLong_out la, SALOME_TYPES::ListOfString_out sa)