[TechDraw] Remove uneeded redefinitions of inherited functions
This commit is contained in:
committed by
WandererFan
parent
fd0109f564
commit
aed0346cdb
@@ -71,25 +71,6 @@ ViewProviderHatch::~ViewProviderHatch()
|
||||
{
|
||||
}
|
||||
|
||||
void ViewProviderHatch::attach(App::DocumentObject *pcFeat)
|
||||
{
|
||||
// call parent attach method
|
||||
ViewProviderDocumentObject::attach(pcFeat);
|
||||
}
|
||||
|
||||
void ViewProviderHatch::setDisplayMode(const char* ModeName)
|
||||
{
|
||||
ViewProviderDocumentObject::setDisplayMode(ModeName);
|
||||
}
|
||||
|
||||
std::vector<std::string> ViewProviderHatch::getDisplayModes(void) const
|
||||
{
|
||||
// get the modes of the father
|
||||
std::vector<std::string> StrList = ViewProviderDocumentObject::getDisplayModes();
|
||||
|
||||
return StrList;
|
||||
}
|
||||
|
||||
bool ViewProviderHatch::setEdit(int ModNum)
|
||||
{
|
||||
if (ModNum != ViewProvider::Default) {
|
||||
@@ -134,11 +115,6 @@ void ViewProviderHatch::onChanged(const App::Property* prop)
|
||||
}
|
||||
}
|
||||
|
||||
void ViewProviderHatch::updateData(const App::Property* prop)
|
||||
{
|
||||
Gui::ViewProviderDocumentObject::updateData(prop);
|
||||
}
|
||||
|
||||
TechDraw::DrawHatch* ViewProviderHatch::getViewObject() const
|
||||
{
|
||||
return dynamic_cast<TechDraw::DrawHatch*>(pcObject);
|
||||
|
||||
Reference in New Issue
Block a user