Mod: redundant void 2
This commit is contained in:
@@ -151,7 +151,7 @@ void CmdSurfaceFilling::activated(int iMsg)
|
||||
doCommand(Doc, "Gui.ActiveDocument.setEdit('%s',0)", FeatName.c_str());
|
||||
}
|
||||
|
||||
bool CmdSurfaceFilling::isActive(void)
|
||||
bool CmdSurfaceFilling::isActive()
|
||||
{
|
||||
return hasActiveDocument();
|
||||
}
|
||||
@@ -173,7 +173,7 @@ CmdSurfaceGeomFillSurface::CmdSurfaceGeomFillSurface()
|
||||
sPixmap = "Surface_GeomFillSurface";
|
||||
}
|
||||
|
||||
bool CmdSurfaceGeomFillSurface::isActive(void)
|
||||
bool CmdSurfaceGeomFillSurface::isActive()
|
||||
{
|
||||
return hasActiveDocument();
|
||||
}
|
||||
@@ -210,7 +210,7 @@ void CmdSurfaceCurveOnMesh::activated(int)
|
||||
"FreeCADGui.runCommand('MeshPart_CurveOnMesh')\n");
|
||||
}
|
||||
|
||||
bool CmdSurfaceCurveOnMesh::isActive(void)
|
||||
bool CmdSurfaceCurveOnMesh::isActive()
|
||||
{
|
||||
if (Gui::Control().activeDialog())
|
||||
return false;
|
||||
@@ -261,7 +261,7 @@ void CmdSurfaceExtendFace::activated(int)
|
||||
}
|
||||
}
|
||||
|
||||
bool CmdSurfaceExtendFace::isActive(void)
|
||||
bool CmdSurfaceExtendFace::isActive()
|
||||
{
|
||||
return Gui::Selection().countObjectsOfType(Part::Feature::getClassTypeId()) == 1;
|
||||
}
|
||||
@@ -290,12 +290,12 @@ void CmdSurfaceSections::activated(int iMsg)
|
||||
doCommand(Doc, "Gui.ActiveDocument.setEdit('%s',0)", FeatName.c_str());
|
||||
}
|
||||
|
||||
bool CmdSurfaceSections::isActive(void)
|
||||
bool CmdSurfaceSections::isActive()
|
||||
{
|
||||
return hasActiveDocument();
|
||||
}
|
||||
|
||||
void CreateSurfaceCommands(void)
|
||||
void CreateSurfaceCommands()
|
||||
{
|
||||
Gui::CommandManager &rcCmdMgr = Gui::Application::Instance->commandManager();
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user