From 84a17f56d38e7fb8cc04410a5cbcc9cb419bb204 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 24 Apr 2008 10:19:55 +0000 Subject: [PATCH] PAL19528 4.x: CRASH after trying to import"${VISU_TEST}/Resources/resultat.01.med" via VISU - PObj2StructuredId myObj2StructuredId; + TObj2StructuredId myObj2StructuredId; --- src/CONVERTOR/VISU_IDMapper.cxx | 8 ++++---- src/CONVERTOR/VISU_IDMapper.hxx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/CONVERTOR/VISU_IDMapper.cxx b/src/CONVERTOR/VISU_IDMapper.cxx index bf1e8fca..55e2cc20 100644 --- a/src/CONVERTOR/VISU_IDMapper.cxx +++ b/src/CONVERTOR/VISU_IDMapper.cxx @@ -103,8 +103,8 @@ namespace VISU ::GetIndexesOfNode(vtkIdType theNodeId) { if ( IsStructured() ) { - TObj2StructuredId::const_iterator aIter = myObj2StructuredId->find( theNodeId ); - if ( aIter != myObj2StructuredId->end() ) + TObj2StructuredId::const_iterator aIter = myObj2StructuredId.find( theNodeId ); + if ( aIter != myObj2StructuredId.end() ) return aIter->second; } @@ -115,8 +115,8 @@ namespace VISU TStructured ::GetObjectIDByIndexes(TStructuredId theVec) { - TObj2StructuredId::const_iterator aIter = myObj2StructuredId->begin(); - for (; aIter != myObj2StructuredId->end(); aIter++ ) { + TObj2StructuredId::const_iterator aIter = myObj2StructuredId.begin(); + for (; aIter != myObj2StructuredId.end(); aIter++ ) { if ( theVec == aIter->second ) return aIter->first; } diff --git a/src/CONVERTOR/VISU_IDMapper.hxx b/src/CONVERTOR/VISU_IDMapper.hxx index 2657165c..4ef68e30 100644 --- a/src/CONVERTOR/VISU_IDMapper.hxx +++ b/src/CONVERTOR/VISU_IDMapper.hxx @@ -124,7 +124,7 @@ namespace VISU */ TStructuredId myGrilleStructure; - PObj2StructuredId myObj2StructuredId;//!< map of object id to i,j,k ids of structured grid nodes + TObj2StructuredId myObj2StructuredId;//!< map of object id to i,j,k ids of structured grid nodes }; //--------------------------------------------------------------- -- 2.39.2