Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/visu.git] / src / CONVERTOR / VISU_Convertor_impl.cxx
index 97fddf99d2bab3d749a907aa2ecc50c4322592e3..1e3aaa6119ae8ba1dbd3760001c9b6d5e2351b99 100644 (file)
@@ -163,7 +163,7 @@ namespace{
        int aMeshDimension = theMesh.myDim;
        bool anIsDimPresent[3] = {false, false, false};
        for(int iDim = 0; iDim < aMeshDimension; iDim++){
-         string aDimName = theMesh.myPointsDim.at(iDim);
+         string aDimName = theMesh.myPointsDim[iDim];
          if(aDimName == "x" || aDimName == "X")
            anIsDimPresent[eX] = true;
          else if(aDimName == "y" || aDimName == "Y")
@@ -646,12 +646,12 @@ VISU_Convertor_impl::GetTimeStampOnMesh(const string& theMeshName,
        //anExtractFilter->DebugOn();
        try{
          LoadMeshOnEntity(*pVTKMeshOnEntity);
-       }catch(std::runtime_error& exc){
+       }catch(std::exception& exc){
          pVTKMeshOnEntity = pMeshOnEntity;
-         MESSAGE("Follow exception was accured :\n"<<exc.what());
+         MESSAGE("Follow exception was occured :\n"<<exc.what());
        }catch(...){
          pVTKMeshOnEntity = pMeshOnEntity;
-         MESSAGE("Unknown exception was accured!");
+         MESSAGE("Unknown exception was occured!");
        }
        GetMeshOnEntity(pVTKMeshOnEntity->myMeshName,pVTKMeshOnEntity->myEntity);