diff --git a/src/Mod/TechDraw/App/DrawRichAnnoPyImp.cpp b/src/Mod/TechDraw/App/DrawRichAnnoPyImp.cpp index 34920a8f64..b4736665b2 100644 --- a/src/Mod/TechDraw/App/DrawRichAnnoPyImp.cpp +++ b/src/Mod/TechDraw/App/DrawRichAnnoPyImp.cpp @@ -21,22 +21,15 @@ ***************************************************************************/ #include "PreCompiled.h" -#ifndef _PreComp_ -#endif - -#include -#include -#include #include "DrawRichAnno.h" - // inclusion of the generated files (generated out of DrawRichAnnoPy.xml) -#include #include #include using namespace TechDraw; + // returns a string which represents the object e.g. when printed in python std::string DrawRichAnnoPy::representation() const { diff --git a/src/Mod/TechDraw/App/DrawSVGTemplatePyImp.cpp b/src/Mod/TechDraw/App/DrawSVGTemplatePyImp.cpp index 589a665dcb..d0ee67d4ce 100644 --- a/src/Mod/TechDraw/App/DrawSVGTemplatePyImp.cpp +++ b/src/Mod/TechDraw/App/DrawSVGTemplatePyImp.cpp @@ -23,11 +23,11 @@ #include "PreCompiled.h" #include "DrawSVGTemplate.h" - // inclusion of the generated files (generated out of DrawSVGTemplatePy.xml) #include #include + using namespace TechDraw; // returns a string which represents the object e.g. when printed in python diff --git a/src/Mod/TechDraw/App/DrawTemplatePyImp.cpp b/src/Mod/TechDraw/App/DrawTemplatePyImp.cpp index 219eaf5010..8a1ded684d 100644 --- a/src/Mod/TechDraw/App/DrawTemplatePyImp.cpp +++ b/src/Mod/TechDraw/App/DrawTemplatePyImp.cpp @@ -21,16 +21,17 @@ ***************************************************************************/ #include "PreCompiled.h" + #ifndef _PreComp_ # include #endif #include "DrawTemplate.h" - // inclusion of the generated files (generated out of DrawTemplateSFPy.xml) #include #include + using namespace TechDraw; // returns a string which represents the object e.g. when printed in python diff --git a/src/Mod/TechDraw/App/DrawTileWeldPyImp.cpp b/src/Mod/TechDraw/App/DrawTileWeldPyImp.cpp index 7c44f814b7..8a70da4838 100644 --- a/src/Mod/TechDraw/App/DrawTileWeldPyImp.cpp +++ b/src/Mod/TechDraw/App/DrawTileWeldPyImp.cpp @@ -21,20 +21,13 @@ ***************************************************************************/ #include "PreCompiled.h" -#ifndef _PreComp_ -#endif - -#include -#include -#include #include "DrawTileWeld.h" - // inclusion of the generated files (generated out of DrawTileWeldPy.xml) -#include #include #include + using namespace TechDraw; // returns a string which represents the object e.g. when printed in python