fix coverity issues

This commit is contained in:
wmayer 2016-11-20 17:11:32 +01:00
parent af62262021
commit 463106cb59

View File

@ -194,7 +194,7 @@ bool DlgBooleanOperation::hasSolids(const App::DocumentObject* obj) const
if (obj->getTypeId().isDerivedFrom(Part::Feature::getClassTypeId())) {
const TopoDS_Shape& shape = static_cast<const Part::Feature*>(obj)->Shape.getValue();
TopExp_Explorer anExp (shape, TopAbs_SOLID);
for (; anExp.More(); anExp.Next()) {
if (anExp.More()) {
return true;
}
}