X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCouplingCorba%2FMEDCouplingFieldDoubleServant.cxx;h=6002cf4de898d166342084ef4735e52d08fa5744;hb=087e7fc0f8aa7d941857a37de78844d0a8cf1ed2;hp=00e168517c15afc372834bf1a720a0a44e92ba87;hpb=94d102d362379da8b0dc676e72a7af0a0a0af49a;p=modules%2Fmed.git diff --git a/src/MEDCouplingCorba/MEDCouplingFieldDoubleServant.cxx b/src/MEDCouplingCorba/MEDCouplingFieldDoubleServant.cxx index 00e168517..6002cf4de 100644 --- a/src/MEDCouplingCorba/MEDCouplingFieldDoubleServant.cxx +++ b/src/MEDCouplingCorba/MEDCouplingFieldDoubleServant.cxx @@ -1,9 +1,9 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D +// Copyright (C) 2007-2015 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 // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -16,11 +16,12 @@ // // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // +// Author : Anthony Geay (CEA/DEN) #include "MEDCouplingFieldDoubleServant.hxx" #include "MEDCouplingFieldDouble.hxx" -using namespace ParaMEDMEM; +using namespace MEDCoupling; MEDCouplingFieldDoubleServant::MEDCouplingFieldDoubleServant(const MEDCouplingFieldDouble *cppPointerOfMesh):MEDCouplingFieldServant(cppPointerOfMesh) { @@ -28,7 +29,7 @@ MEDCouplingFieldDoubleServant::MEDCouplingFieldDoubleServant(const MEDCouplingFi char *MEDCouplingFieldDoubleServant::getName() { - return CORBA::string_dup(getPointer()->getName()); + return CORBA::string_dup(getPointer()->getName().c_str()); } SALOME_TYPES::ListOfString *MEDCouplingFieldDoubleServant::getInfoOnComponents()