From 3354f3bc198757163ef9ab397cd7f27343366548 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 25 Sep 2007 08:41:04 +0000 Subject: [PATCH] PAL14858 (The Mesh Info Dialog Box is too slow) replace ::SMESH_Mesh::ElementOrder with SMDSAbs_ElementOrder --- src/SMESH_I/SMESH_Mesh_i.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index e043a1d22..0e7437b19 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -1562,7 +1562,7 @@ CORBA::Long SMESH_Mesh_i::NbEdgesOfOrder(SMESH::ElementOrder order) throw(SALOME::SALOME_Exception) { Unexpect aCatch(SALOME_SalomeException); - return _impl->NbEdges( (::SMESH_Mesh::ElementOrder) order); + return _impl->NbEdges( (SMDSAbs_ElementOrder) order); } //============================================================================= @@ -1598,21 +1598,21 @@ CORBA::Long SMESH_Mesh_i::NbFacesOfOrder(SMESH::ElementOrder order) throw(SALOME::SALOME_Exception) { Unexpect aCatch(SALOME_SalomeException); - return _impl->NbFaces( (::SMESH_Mesh::ElementOrder) order); + return _impl->NbFaces( (SMDSAbs_ElementOrder) order); } CORBA::Long SMESH_Mesh_i::NbTrianglesOfOrder(SMESH::ElementOrder order) throw(SALOME::SALOME_Exception) { Unexpect aCatch(SALOME_SalomeException); - return _impl->NbTriangles( (::SMESH_Mesh::ElementOrder) order); + return _impl->NbTriangles( (SMDSAbs_ElementOrder) order); } CORBA::Long SMESH_Mesh_i::NbQuadranglesOfOrder(SMESH::ElementOrder order) throw(SALOME::SALOME_Exception) { Unexpect aCatch(SALOME_SalomeException); - return _impl->NbQuadrangles( (::SMESH_Mesh::ElementOrder) order); + return _impl->NbQuadrangles( (SMDSAbs_ElementOrder) order); } //============================================================================= @@ -1660,35 +1660,35 @@ CORBA::Long SMESH_Mesh_i::NbVolumesOfOrder(SMESH::ElementOrder order) throw(SALOME::SALOME_Exception) { Unexpect aCatch(SALOME_SalomeException); - return _impl->NbVolumes( (::SMESH_Mesh::ElementOrder) order); + return _impl->NbVolumes( (SMDSAbs_ElementOrder) order); } CORBA::Long SMESH_Mesh_i::NbTetrasOfOrder(SMESH::ElementOrder order) throw(SALOME::SALOME_Exception) { Unexpect aCatch(SALOME_SalomeException); - return _impl->NbTetras( (::SMESH_Mesh::ElementOrder) order); + return _impl->NbTetras( (SMDSAbs_ElementOrder) order); } CORBA::Long SMESH_Mesh_i::NbHexasOfOrder(SMESH::ElementOrder order) throw(SALOME::SALOME_Exception) { Unexpect aCatch(SALOME_SalomeException); - return _impl->NbHexas( (::SMESH_Mesh::ElementOrder) order); + return _impl->NbHexas( (SMDSAbs_ElementOrder) order); } CORBA::Long SMESH_Mesh_i::NbPyramidsOfOrder(SMESH::ElementOrder order) throw(SALOME::SALOME_Exception) { Unexpect aCatch(SALOME_SalomeException); - return _impl->NbPyramids( (::SMESH_Mesh::ElementOrder) order); + return _impl->NbPyramids( (SMDSAbs_ElementOrder) order); } CORBA::Long SMESH_Mesh_i::NbPrismsOfOrder(SMESH::ElementOrder order) throw(SALOME::SALOME_Exception) { Unexpect aCatch(SALOME_SalomeException); - return _impl->NbPrisms( (::SMESH_Mesh::ElementOrder) order); + return _impl->NbPrisms( (SMDSAbs_ElementOrder) order); } //============================================================================= -- 2.39.2