Sketcher: refactor, drop return in void returning functions
This commit is contained in:
committed by
Chris Hennes
parent
2c95085def
commit
00acfd5b2a
@@ -155,7 +155,7 @@ int GeometryFacade::getId(const Part::Geometry* geometry)
|
||||
void GeometryFacade::setId(Part::Geometry* geometry, int id)
|
||||
{
|
||||
auto gf = GeometryFacade::getFacade(geometry);
|
||||
return gf->setId(id);
|
||||
gf->setId(id);
|
||||
}
|
||||
|
||||
bool GeometryFacade::getConstruction(const Part::Geometry* geometry)
|
||||
@@ -171,7 +171,7 @@ void GeometryFacade::setConstruction(Part::Geometry* geometry, bool construction
|
||||
throwOnNullPtr(geometry);
|
||||
|
||||
auto gf = GeometryFacade::getFacade(geometry);
|
||||
return gf->setConstruction(construction);
|
||||
gf->setConstruction(construction);
|
||||
}
|
||||
|
||||
bool GeometryFacade::isInternalType(const Part::Geometry* geometry, InternalType::InternalType type)
|
||||
|
||||
Reference in New Issue
Block a user