Mod: redundant void 2
This commit is contained in:
@@ -101,7 +101,7 @@ CurveProjectorShape::CurveProjectorShape(const TopoDS_Shape &aShape, const MeshK
|
||||
Do();
|
||||
}
|
||||
|
||||
void CurveProjectorShape::Do(void)
|
||||
void CurveProjectorShape::Do()
|
||||
{
|
||||
TopExp_Explorer Ex;
|
||||
TopoDS_Shape Edge;
|
||||
@@ -269,7 +269,7 @@ CurveProjectorSimple::CurveProjectorSimple(const TopoDS_Shape &aShape, const Mes
|
||||
}
|
||||
|
||||
|
||||
void CurveProjectorSimple::Do(void)
|
||||
void CurveProjectorSimple::Do()
|
||||
{
|
||||
TopExp_Explorer Ex;
|
||||
TopoDS_Shape Edge;
|
||||
@@ -583,7 +583,7 @@ CurveProjectorWithToolMesh::CurveProjectorWithToolMesh(const TopoDS_Shape &aShap
|
||||
}
|
||||
|
||||
|
||||
void CurveProjectorWithToolMesh::Do(void)
|
||||
void CurveProjectorWithToolMesh::Do()
|
||||
{
|
||||
TopExp_Explorer Ex;
|
||||
TopoDS_Shape Edge;
|
||||
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
typedef std::map<TopoDS_Edge, std::vector<FaceSplitEdge>,TopoDSLess<TopoDS_Edge> > result_type;
|
||||
|
||||
|
||||
result_type &result(void) {return mvEdgeSplitPoints;}
|
||||
result_type &result() {return mvEdgeSplitPoints;}
|
||||
|
||||
void writeIntersectionPointsToFile(const char *name="export_pts.asc");
|
||||
|
||||
|
||||
@@ -478,7 +478,7 @@ class _VertexCompare
|
||||
return clP1.X() < clP2.X();
|
||||
}
|
||||
|
||||
_VertexCompare (void) : dE(1.0e-5) {}
|
||||
_VertexCompare () : dE(1.0e-5) {}
|
||||
double dE;
|
||||
};
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "Workbench.h"
|
||||
|
||||
// use a different name to CreateCommand()
|
||||
void CreateMeshPartCommands(void);
|
||||
void CreateMeshPartCommands();
|
||||
|
||||
void loadMeshPartResource()
|
||||
{
|
||||
|
||||
@@ -68,7 +68,7 @@ void CmdMeshPartMesher::activated(int)
|
||||
Gui::Control().showDialog(new MeshPartGui::TaskTessellation());
|
||||
}
|
||||
|
||||
bool CmdMeshPartMesher::isActive(void)
|
||||
bool CmdMeshPartMesher::isActive()
|
||||
{
|
||||
return (hasActiveDocument() && !Gui::Control().activeDialog());
|
||||
}
|
||||
@@ -164,7 +164,7 @@ void CmdMeshPartTrimByPlane::activated(int)
|
||||
commitCommand();
|
||||
}
|
||||
|
||||
bool CmdMeshPartTrimByPlane::isActive(void)
|
||||
bool CmdMeshPartTrimByPlane::isActive()
|
||||
{
|
||||
// Check for the selected mesh feature (all Mesh types)
|
||||
if (getSelection().countObjectsOfType(Mesh::Feature::getClassTypeId()) != 1)
|
||||
@@ -248,7 +248,7 @@ void CmdMeshPartSection::activated(int)
|
||||
commitCommand();
|
||||
}
|
||||
|
||||
bool CmdMeshPartSection::isActive(void)
|
||||
bool CmdMeshPartSection::isActive()
|
||||
{
|
||||
// Check for the selected mesh feature (all Mesh types)
|
||||
if (getSelection().countObjectsOfType(Mesh::Feature::getClassTypeId()) != 1)
|
||||
@@ -290,7 +290,7 @@ void CmdMeshPartCrossSections::activated(int iMsg)
|
||||
Gui::Control().showDialog(dlg);
|
||||
}
|
||||
|
||||
bool CmdMeshPartCrossSections::isActive(void)
|
||||
bool CmdMeshPartCrossSections::isActive()
|
||||
{
|
||||
return (Gui::Selection().countObjectsOfType(Mesh::Feature::getClassTypeId()) > 0 &&
|
||||
!Gui::Control().activeDialog());
|
||||
@@ -322,7 +322,7 @@ void CmdMeshPartCurveOnMesh::activated(int)
|
||||
Gui::Control().showDialog(new MeshPartGui::TaskCurveOnMesh(static_cast<Gui::View3DInventor*>(mdis.front())));
|
||||
}
|
||||
|
||||
bool CmdMeshPartCurveOnMesh::isActive(void)
|
||||
bool CmdMeshPartCurveOnMesh::isActive()
|
||||
{
|
||||
if (Gui::Control().activeDialog())
|
||||
return false;
|
||||
@@ -336,7 +336,7 @@ bool CmdMeshPartCurveOnMesh::isActive(void)
|
||||
}
|
||||
|
||||
|
||||
void CreateMeshPartCommands(void)
|
||||
void CreateMeshPartCommands()
|
||||
{
|
||||
Gui::CommandManager &rcCmdMgr = Gui::Application::Instance->commandManager();
|
||||
rcCmdMgr.addCommand(new CmdMeshPartMesher());
|
||||
|
||||
Reference in New Issue
Block a user