Skip to content

Commit

Permalink
fix coverity issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Nov 20, 2016
1 parent af62262 commit 463106c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Part/Gui/DlgBooleanOperation.cpp
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 463106c

Please sign in to comment.