Part/PD: modernize C++: redundant void arg
This commit is contained in:
@@ -137,7 +137,7 @@ void CmdPrimtiveCompAdditive::activated(int iMsg)
|
||||
PartDesignGui::setEdit(prm,pcActiveBody);
|
||||
}
|
||||
|
||||
Gui::Action * CmdPrimtiveCompAdditive::createAction(void)
|
||||
Gui::Action * CmdPrimtiveCompAdditive::createAction()
|
||||
{
|
||||
Gui::ActionGroup* pcAction = new Gui::ActionGroup(this, Gui::getMainWindow());
|
||||
pcAction->setDropDownMenu(true);
|
||||
@@ -229,7 +229,7 @@ void CmdPrimtiveCompAdditive::languageChange()
|
||||
arc8->setStatusTip(arc8->toolTip());
|
||||
}
|
||||
|
||||
bool CmdPrimtiveCompAdditive::isActive(void)
|
||||
bool CmdPrimtiveCompAdditive::isActive()
|
||||
{
|
||||
return (hasActiveDocument() && !Gui::Control().activeDialog());
|
||||
}
|
||||
@@ -293,7 +293,7 @@ void CmdPrimtiveCompSubtractive::activated(int iMsg)
|
||||
PartDesignGui::setEdit(Feat,pcActiveBody);
|
||||
}
|
||||
|
||||
Gui::Action * CmdPrimtiveCompSubtractive::createAction(void)
|
||||
Gui::Action * CmdPrimtiveCompSubtractive::createAction()
|
||||
{
|
||||
Gui::ActionGroup* pcAction = new Gui::ActionGroup(this, Gui::getMainWindow());
|
||||
pcAction->setDropDownMenu(true);
|
||||
@@ -385,7 +385,7 @@ void CmdPrimtiveCompSubtractive::languageChange()
|
||||
arc8->setStatusTip(arc8->toolTip());
|
||||
}
|
||||
|
||||
bool CmdPrimtiveCompSubtractive::isActive(void)
|
||||
bool CmdPrimtiveCompSubtractive::isActive()
|
||||
{
|
||||
return (hasActiveDocument() && !Gui::Control().activeDialog());
|
||||
}
|
||||
@@ -394,7 +394,7 @@ bool CmdPrimtiveCompSubtractive::isActive(void)
|
||||
// Initialization
|
||||
//===========================================================================
|
||||
|
||||
void CreatePartDesignPrimitiveCommands(void)
|
||||
void CreatePartDesignPrimitiveCommands()
|
||||
{
|
||||
Gui::CommandManager &rcCmdMgr = Gui::Application::Instance->commandManager();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user