[TD] P* - T*: remove unused includes
- also sort includes - also additions to precompiled header
This commit is contained in:
@@ -20,32 +20,20 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <cassert>
|
||||
#endif
|
||||
|
||||
/// Here the FreeCAD includes sorted by Base, App, Gui......
|
||||
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Reader.h>
|
||||
#include <Base/Writer.h>
|
||||
#include <Base/Console.h>
|
||||
|
||||
#include "Cosmetic.h"
|
||||
#include "GeomFormatPy.h"
|
||||
|
||||
#include "PropertyGeomFormatList.h"
|
||||
#include "GeomFormatPy.h"
|
||||
|
||||
|
||||
using namespace App;
|
||||
using namespace Base;
|
||||
using namespace std;
|
||||
using namespace TechDraw;
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// PropertyGeomFormatList
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
@@ -151,18 +139,19 @@ void PropertyGeomFormatList::setPyObject(PyObject *value)
|
||||
|
||||
void PropertyGeomFormatList::Save(Writer &writer) const
|
||||
{
|
||||
writer.Stream() << writer.ind() << "<GeomFormatList count=\"" << getSize() <<"\">" << endl;
|
||||
writer.Stream() << writer.ind() << "<GeomFormatList count=\"" << getSize() << "\">"
|
||||
<< std::endl;
|
||||
writer.incInd();
|
||||
for (int i = 0; i < getSize(); i++) {
|
||||
writer.Stream() << writer.ind() << "<GeomFormat type=\""
|
||||
<< _lValueList[i]->getTypeId().getName() << "\">" << endl;
|
||||
<< _lValueList[i]->getTypeId().getName() << "\">" << std::endl;
|
||||
writer.incInd();
|
||||
_lValueList[i]->Save(writer);
|
||||
writer.decInd();
|
||||
writer.Stream() << writer.ind() << "</GeomFormat>" << endl;
|
||||
writer.Stream() << writer.ind() << "</GeomFormat>" << std::endl;
|
||||
}
|
||||
writer.decInd();
|
||||
writer.Stream() << writer.ind() << "</GeomFormatList>" << endl ;
|
||||
writer.Stream() << writer.ind() << "</GeomFormatList>" << std::endl;
|
||||
}
|
||||
|
||||
void PropertyGeomFormatList::Restore(Base::XMLReader &reader)
|
||||
|
||||
Reference in New Issue
Block a user