From: eap Date: Mon, 27 May 2013 14:00:27 +0000 (+0000) Subject: Fix a typo nagate -> negate X-Git-Tag: V7_3_0a1~403 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fce384ca68d380ccde4f987cc651ab9ed5c9dac9;p=modules%2Fsmesh.git Fix a typo nagate -> negate --- diff --git a/src/SMESH/SMESH_HypoFilter.cxx b/src/SMESH/SMESH_HypoFilter.cxx index 592201a29..ceb7c6fb2 100644 --- a/src/SMESH/SMESH_HypoFilter.cxx +++ b/src/SMESH/SMESH_HypoFilter.cxx @@ -193,9 +193,9 @@ SMESH_HypoFilter::SMESH_HypoFilter() //purpose : //======================================================================= -SMESH_HypoFilter::SMESH_HypoFilter( SMESH_HypoPredicate* aPredicate, bool notNagate ) +SMESH_HypoFilter::SMESH_HypoFilter( SMESH_HypoPredicate* aPredicate, bool notNegate ) { - add( notNagate ? AND : AND_NOT, aPredicate ); + add( notNegate ? AND : AND_NOT, aPredicate ); } //======================================================================= @@ -376,14 +376,14 @@ bool SMESH_HypoFilter::IsOk (const SMESH_Hypothesis* aHyp, //purpose : //======================================================================= -SMESH_HypoFilter & SMESH_HypoFilter::Init ( SMESH_HypoPredicate* aPredicate, bool notNagate ) +SMESH_HypoFilter & SMESH_HypoFilter::Init ( SMESH_HypoPredicate* aPredicate, bool notNegate ) { list::const_iterator pred = myPredicates.begin(); for ( ; pred != myPredicates.end(); ++pred ) delete *pred; myPredicates.clear(); - add( notNagate ? AND : AND_NOT, aPredicate ); + add( notNegate ? AND : AND_NOT, aPredicate ); return *this; } diff --git a/src/SMESH/SMESH_HypoFilter.hxx b/src/SMESH/SMESH_HypoFilter.hxx index 7bcbe813c..13cb40753 100644 --- a/src/SMESH/SMESH_HypoFilter.hxx +++ b/src/SMESH/SMESH_HypoFilter.hxx @@ -59,9 +59,9 @@ class SMESH_EXPORT SMESH_HypoFilter: public SMESH_HypoPredicate // Create and add predicates. // Added predicates will be destroyed by filter when it dies SMESH_HypoFilter(); - SMESH_HypoFilter( SMESH_HypoPredicate* aPredicate, bool notNagate = true ); - // notNagate==false means !aPredicate->IsOk() - SMESH_HypoFilter & Init ( SMESH_HypoPredicate* aPredicate, bool notNagate = true ); + SMESH_HypoFilter( SMESH_HypoPredicate* aPredicate, bool notNegate = true ); + // notNegate==false means !aPredicate->IsOk() + SMESH_HypoFilter & Init ( SMESH_HypoPredicate* aPredicate, bool notNegate = true ); SMESH_HypoFilter & And ( SMESH_HypoPredicate* aPredicate ); SMESH_HypoFilter & AndNot( SMESH_HypoPredicate* aPredicate ); SMESH_HypoFilter & Or ( SMESH_HypoPredicate* aPredicate );