Mod: redundant void 2
This commit is contained in:
@@ -107,7 +107,7 @@ void ViewProviderDatum::attach(App::DocumentObject *obj)
|
||||
App::DocumentObject* o = getObject();
|
||||
if (o->getTypeId() == PartDesign::Plane::getClassTypeId()) {
|
||||
datumType = QString::fromLatin1("Plane");
|
||||
datumText = QObject::tr("Plane");
|
||||
datumText = QObject::tr("Plane");
|
||||
datumMenuText = tr("Datum Plane parameters");
|
||||
}
|
||||
else if (o->getTypeId() == PartDesign::Line::getClassTypeId()) {
|
||||
@@ -158,7 +158,7 @@ bool ViewProviderDatum::onDelete(const std::vector<std::string> &)
|
||||
return true;
|
||||
}
|
||||
|
||||
std::vector<std::string> ViewProviderDatum::getDisplayModes(void) const
|
||||
std::vector<std::string> ViewProviderDatum::getDisplayModes() const
|
||||
{
|
||||
return { "Base" };
|
||||
}
|
||||
@@ -214,7 +214,7 @@ SoDetail* ViewProviderDatum::getDetail(const char* subelement) const
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool ViewProviderDatum::isSelectable(void) const
|
||||
bool ViewProviderDatum::isSelectable() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@@ -272,7 +272,7 @@ bool ViewProviderDatum::setEdit(int ModNum)
|
||||
}
|
||||
}
|
||||
|
||||
bool ViewProviderDatum::doubleClicked(void)
|
||||
bool ViewProviderDatum::doubleClicked()
|
||||
{
|
||||
auto activeDoc = Gui::Application::Instance->activeDocument();
|
||||
if(!activeDoc)
|
||||
|
||||
Reference in New Issue
Block a user