From: abd Date: Thu, 28 Aug 2008 09:53:51 +0000 (+0000) Subject: Fix compilation problems on Win32 platform X-Git-Tag: V5_1_0a1~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2983831a249b83dbd11abe18bf689dc7d7a93ead;p=modules%2Fgeom.git Fix compilation problems on Win32 platform --- diff --git a/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx b/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx index a3b7dde7c..13b1a80a8 100644 --- a/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx @@ -2912,7 +2912,7 @@ Handle(GEOM_Object) GEOMImpl_IShapesOperations::GetInPlace (Handle(GEOM_Object) aPnt = BRep_Tool::Pnt( TopoDS::Vertex( Exp_Vertex.Current() ) ); tab_Pnt[nbVertex] = aPnt; } - if ( not tab_Pnt[0].IsEqual(tab_Pnt[1], dl_l) ) { + if ( ! tab_Pnt[0].IsEqual(tab_Pnt[1], dl_l) ) { BRepGProp::LinearProperties(Exp_Edge.Current(), aProps); if ( aProps.Mass() < min_l ) min_l = aProps.Mass(); } diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx index 4cde20102..8b4899f99 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx @@ -51,12 +51,12 @@ static QStringList objectsToNames( const QMap& objects ) QStringList entries; for ( QMap::ConstIterator it = objects.begin(); it != objects.end(); ++it ) { QString entry = it.key(); - QStringList::Iterator it; + QStringList::Iterator iter; bool added = false; - for ( it = entries.begin(); it != entries.end() && !added; ++it ) { - if ( isEntryLess( entry, *it ) ) { - entries.insert( it, entry ); - added = true; + for ( iter = entries.begin(); iter != entries.end() && !added; ++it ) { + if ( isEntryLess( entry, *iter ) ) { + entries.insert( iter, entry ); + added = true; } } if ( !added )