From: ageay Date: Mon, 21 Feb 2011 07:30:53 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V6_main_FINAL~1061 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0bc5795b878999e3dcc23af4fc87485616fe4a15;p=tools%2Fmedcoupling.git *** empty log message *** --- diff --git a/src/MEDCoupling/MEDCouplingCMesh.cxx b/src/MEDCoupling/MEDCouplingCMesh.cxx index aa28e5ab4..564622070 100644 --- a/src/MEDCoupling/MEDCouplingCMesh.cxx +++ b/src/MEDCoupling/MEDCouplingCMesh.cxx @@ -39,15 +39,15 @@ MEDCouplingCMesh::MEDCouplingCMesh(const MEDCouplingCMesh& other, bool deepCpy): if(other._x_array) _x_array=other._x_array->deepCpy(); else - _x_array=0; + _x_array=0; if(other._y_array) _y_array=other._y_array->deepCpy(); else - _y_array=0; + _y_array=0; if(other._z_array) _z_array=other._z_array->deepCpy(); else - _z_array=0; + _z_array=0; } else { diff --git a/src/MEDCoupling/MEDCouplingMemArray.cxx b/src/MEDCoupling/MEDCouplingMemArray.cxx index 7f8bf2008..4e0fd0f4f 100644 --- a/src/MEDCoupling/MEDCouplingMemArray.cxx +++ b/src/MEDCoupling/MEDCouplingMemArray.cxx @@ -135,11 +135,11 @@ std::string DataArray::getVarOnComponent(int i) const throw(INTERP_KERNEL::Excep std::size_t p1=st0.find_last_of('['); std::size_t p2=st0.find_last_of(']'); if(p1==std::string::npos || p2==std::string::npos) - return st0; + return st0; if(p1>p2) - return st0; + return st0; if(p1==0) - return std::string(); + return std::string(); std::size_t p3=st0.find_last_not_of(' ',p1-1); return st0.substr(0,p3+1); } @@ -162,9 +162,9 @@ std::string DataArray::getUnitOnComponent(int i) const throw(INTERP_KERNEL::Exce std::size_t p1=st0.find_last_of('['); std::size_t p2=st0.find_last_of(']'); if(p1==std::string::npos || p2==std::string::npos) - return std::string(); + return std::string(); if(p1>p2) - return std::string(); + return std::string(); return st0.substr(p1+1,p2-p1-1); } else