X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCouplingCorba%2FMEDCouplingMeshServant.cxx;h=f2fc2f832c7ea1ada73eb95033b2e1fecb0f1e04;hb=0c9d48870957c4a9f6f82fc8e2c569780a5f886b;hp=4912eabe10fb069821ee9de9f4a5b6a0fc454bfb;hpb=aeb48974ed761c5e30d44a83149330153dc13d85;p=modules%2Fmed.git diff --git a/src/MEDCouplingCorba/MEDCouplingMeshServant.cxx b/src/MEDCouplingCorba/MEDCouplingMeshServant.cxx index 4912eabe1..f2fc2f832 100644 --- a/src/MEDCouplingCorba/MEDCouplingMeshServant.cxx +++ b/src/MEDCouplingCorba/MEDCouplingMeshServant.cxx @@ -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 @@ -31,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)