Mod: redundant void 2
This commit is contained in:
@@ -85,7 +85,7 @@ ImpExpDxfRead::ImpExpDxfRead(std::string filepath, App::Document *pcDoc) : CDxfR
|
||||
setOptions();
|
||||
}
|
||||
|
||||
void ImpExpDxfRead::setOptions(void)
|
||||
void ImpExpDxfRead::setOptions()
|
||||
{
|
||||
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath(getOptionSource().c_str());
|
||||
optionGroupLayers = hGrp->GetBool("groupLayers",false);
|
||||
@@ -473,7 +473,7 @@ ImpExpDxfWrite::~ImpExpDxfWrite()
|
||||
{
|
||||
}
|
||||
|
||||
void ImpExpDxfWrite::setOptions(void)
|
||||
void ImpExpDxfWrite::setOptions()
|
||||
{
|
||||
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath(getOptionSource().c_str());
|
||||
optionMaxLength = hGrp->GetFloat("maxsegmentlength",5.0);
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace Import
|
||||
|
||||
std::string getOptionSource() { return m_optionSource; }
|
||||
void setOptionSource(std::string s) { m_optionSource = s; }
|
||||
void setOptions(void);
|
||||
void setOptions();
|
||||
|
||||
private:
|
||||
gp_Pnt makePoint(const double* p);
|
||||
@@ -78,7 +78,7 @@ namespace Import
|
||||
void exportShape(const TopoDS_Shape input);
|
||||
std::string getOptionSource() { return m_optionSource; }
|
||||
void setOptionSource(std::string s) { m_optionSource = s; }
|
||||
void setOptions(void);
|
||||
void setOptions();
|
||||
|
||||
void exportText(const char* text, Base::Vector3d position1, Base::Vector3d position2, double size, int just);
|
||||
void exportLinearDim(Base::Vector3d textLocn, Base::Vector3d lineLocn,
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
|
||||
// use a different name to CreateCommand()
|
||||
void CreateImportCommands(void);
|
||||
void CreateImportCommands();
|
||||
|
||||
|
||||
namespace ImportGui {
|
||||
|
||||
@@ -64,7 +64,7 @@ void FCCmdImportReadBREP::activated(int iMsg)
|
||||
commitCommand();
|
||||
}
|
||||
|
||||
bool FCCmdImportReadBREP::isActive(void)
|
||||
bool FCCmdImportReadBREP::isActive()
|
||||
{
|
||||
return getGuiApplication()->activeDocument() != nullptr;
|
||||
}
|
||||
@@ -101,7 +101,7 @@ void ImportStep::activated(int iMsg)
|
||||
}
|
||||
}
|
||||
|
||||
bool ImportStep::isActive(void)
|
||||
bool ImportStep::isActive()
|
||||
{
|
||||
if (getActiveGuiDocument())
|
||||
return true;
|
||||
@@ -141,7 +141,7 @@ void ImportIges::activated(int iMsg)
|
||||
}
|
||||
}
|
||||
|
||||
bool ImportIges::isActive(void)
|
||||
bool ImportIges::isActive()
|
||||
{
|
||||
if (getActiveGuiDocument())
|
||||
return true;
|
||||
@@ -150,7 +150,7 @@ bool ImportIges::isActive(void)
|
||||
}
|
||||
|
||||
|
||||
void CreateImportCommands(void)
|
||||
void CreateImportCommands()
|
||||
{
|
||||
Gui::CommandManager &rcCmdMgr = Gui::Application::Instance->commandManager();
|
||||
rcCmdMgr.addCommand(new FCCmdImportReadBREP());
|
||||
|
||||
Reference in New Issue
Block a user