From: eap Date: Mon, 21 Jul 2008 09:52:43 +0000 (+0000) Subject: CORBA::Long SMESH_MeshEditor_i::AddFace(const SMESH::long_array & IDsOfNodes) X-Git-Tag: V4_1_4a1~34 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=df5d0e7d52f958815984fb009d76352f6d191aa6;p=modules%2Fsmesh.git CORBA::Long SMESH_MeshEditor_i::AddFace(const SMESH::long_array & IDsOfNodes) { - return false; + return 0; --- diff --git a/src/SMESH_I/SMESH_MeshEditor_i.cxx b/src/SMESH_I/SMESH_MeshEditor_i.cxx index 22f99a524..064955be5 100644 --- a/src/SMESH_I/SMESH_MeshEditor_i.cxx +++ b/src/SMESH_I/SMESH_MeshEditor_i.cxx @@ -385,7 +385,7 @@ CORBA::Long SMESH_MeshEditor_i::AddFace(const SMESH::long_array & IDsOfNodes) int NbNodes = IDsOfNodes.length(); if (NbNodes < 3) { - return false; + return 0; } std::vector nodes (NbNodes);