]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
API modification : input string have type :
authorageay <ageay>
Wed, 22 Jan 2014 14:18:11 +0000 (14:18 +0000)
committerageay <ageay>
Wed, 22 Jan 2014 14:18:11 +0000 (14:18 +0000)
const std::string& instead of const char *

src/MEDLoader/MEDFileFieldOverView.cxx
src/MEDOP/gui/DatasourceController.cxx

index 3b89bbac38b6e75278c25d1b035055b562513328..825a780e57708903c583d795b7d5dbf975257f4c 100644 (file)
@@ -1203,7 +1203,7 @@ MEDMeshMultiLev *MEDCMeshMultiLev::prepare() const
       if(MEDCouplingStructuredMesh::IsPartStructured(pfl->begin(),pfl->end(),cgs,cellParts))
         {
           MEDCouplingAutoRefCountObjectPtr<MEDCMeshMultiLev> ret(new MEDCMeshMultiLev(*this));
-         ret->_is_internal=false;
+          ret->_is_internal=false;
           if(nr)
             { nnr=nr->deepCpy(); nnr->sort(true); ret->setNodeReduction(nnr); }
           ret->_nb_entities[0]=pfl->getNumberOfTuples();
@@ -1341,7 +1341,7 @@ MEDMeshMultiLev *MEDCurveLinearMeshMultiLev::prepare() const
             }
           MEDCouplingAutoRefCountObjectPtr<DataArrayInt> p(MEDCouplingStructuredMesh::BuildExplicitIdsFrom(ngs,nodeParts));
           MEDCouplingAutoRefCountObjectPtr<MEDCurveLinearMeshMultiLev> ret(new MEDCurveLinearMeshMultiLev(*this));
-         ret->_is_internal=false;
+          ret->_is_internal=false;
           if(nr)
             { nnr=nr->deepCpy(); nnr->sort(true); ret->setNodeReduction(nnr); }
           ret->_nb_entities[0]=pfl->getNumberOfTuples();
index 861fb441ce61de6f368bc8a48ef4bece6060e389..5aa5cc734c04fe0886128741e5f8a5f53a6991d8 100644 (file)
@@ -192,7 +192,7 @@ void DatasourceController::OnAddDatasource()
 
   if ( filenames.count() <= 0 ) return;
   for ( QStringList::ConstIterator itFile = filenames.begin();
-       itFile != filenames.end(); ++itFile ) {
+        itFile != filenames.end(); ++itFile ) {
     QString filename = *itFile;
     this->addDatasource(QCHARSTAR(filename));
     _salomeModule->updateObjBrowser(true);