reduce use of "execute" on cosmetic changes.
This commit is contained in:
@@ -28,20 +28,15 @@
|
||||
|
||||
/// Here the FreeCAD includes sorted by Base,App,Gui......
|
||||
#include <Base/Console.h>
|
||||
//#include <Base/Parameter.h>
|
||||
//#include <Base/Exception.h>
|
||||
//#include <Base/Sequencer.h>
|
||||
#include <App/Application.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/DocumentObject.h>
|
||||
//#include <Gui/SoFCSelection.h>
|
||||
//#include <Gui/Selection.h>
|
||||
|
||||
#include "ViewProviderSpreadsheet.h"
|
||||
|
||||
using namespace TechDrawGui;
|
||||
|
||||
PROPERTY_SOURCE(TechDrawGui::ViewProviderSpreadsheet, Gui::ViewProviderDocumentObject)
|
||||
PROPERTY_SOURCE(TechDrawGui::ViewProviderSpreadsheet, TechDrawGui::ViewProviderSymbol)
|
||||
|
||||
//**************************************************************************
|
||||
// Construction/Destruction
|
||||
@@ -58,25 +53,25 @@ ViewProviderSpreadsheet::~ViewProviderSpreadsheet()
|
||||
void ViewProviderSpreadsheet::attach(App::DocumentObject *pcFeat)
|
||||
{
|
||||
// call parent attach method
|
||||
ViewProviderDocumentObject::attach(pcFeat);
|
||||
ViewProviderSymbol::attach(pcFeat);
|
||||
}
|
||||
|
||||
void ViewProviderSpreadsheet::setDisplayMode(const char* ModeName)
|
||||
{
|
||||
ViewProviderDocumentObject::setDisplayMode(ModeName);
|
||||
ViewProviderSymbol::setDisplayMode(ModeName);
|
||||
}
|
||||
|
||||
std::vector<std::string> ViewProviderSpreadsheet::getDisplayModes(void) const
|
||||
{
|
||||
// get the modes of the father
|
||||
std::vector<std::string> StrList = ViewProviderDocumentObject::getDisplayModes();
|
||||
std::vector<std::string> StrList = ViewProviderSymbol::getDisplayModes();
|
||||
|
||||
return StrList;
|
||||
}
|
||||
|
||||
void ViewProviderSpreadsheet::updateData(const App::Property* prop)
|
||||
{
|
||||
Gui::ViewProviderDocumentObject::updateData(prop);
|
||||
ViewProviderSymbol::updateData(prop);
|
||||
}
|
||||
|
||||
TechDraw::DrawViewSpreadsheet* ViewProviderSpreadsheet::getViewObject() const
|
||||
|
||||
Reference in New Issue
Block a user