mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-01 01:45:37 +05:00
Fix compilation problems on Win32 platform
This commit is contained in:
parent
b568e77447
commit
2983831a24
@ -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();
|
||||
}
|
||||
|
@ -51,12 +51,12 @@ static QStringList objectsToNames( const QMap<QString, QString>& objects )
|
||||
QStringList entries;
|
||||
for ( QMap<QString, QString>::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 )
|
||||
|
Loading…
Reference in New Issue
Block a user