[TD] P* - T*: remove unused includes

- also sort includes
- also additions to precompiled header
This commit is contained in:
Uwe
2022-10-06 02:36:48 +02:00
parent e9aa0a7d9a
commit a6c6344c6b
15 changed files with 99 additions and 214 deletions

View File

@@ -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)