]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
*** empty log message ***
authorageay <ageay>
Mon, 21 Feb 2011 07:30:53 +0000 (07:30 +0000)
committerageay <ageay>
Mon, 21 Feb 2011 07:30:53 +0000 (07:30 +0000)
src/MEDCoupling/MEDCouplingCMesh.cxx
src/MEDCoupling/MEDCouplingMemArray.cxx

index aa28e5ab42579b36fd6b4e480e4f9e77de83922c..56462207078cd38e7da3b5f3bfee3e67347f6d20 100644 (file)
@@ -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
     {
index 7f8bf20080b607471b6e620f5972208d3df45a08..4e0fd0f4fe0df9e040064770b4452e3b3015dc82 100644 (file)
@@ -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