diff --git a/src/App/Link.cpp b/src/App/Link.cpp index a8229875a6..48f1c96a1a 100644 --- a/src/App/Link.cpp +++ b/src/App/Link.cpp @@ -22,22 +22,16 @@ #include "PreCompiled.h" -#ifndef _PreComp_ -# include -#endif - #include -#include #include + #include "Application.h" +#include "ComplexGeoData.h" +#include "ComplexGeoDataPy.h" #include "Document.h" #include "GroupExtension.h" #include "Link.h" #include "LinkBaseExtensionPy.h" -#include -#include -#include "ComplexGeoData.h" -#include "ComplexGeoDataPy.h" //FIXME: ISO C++11 requires at least one argument for the "..." in a variadic macro #if defined(__clang__) diff --git a/src/App/Link.h b/src/App/Link.h index 69e9874386..bc427a3aab 100644 --- a/src/App/Link.h +++ b/src/App/Link.h @@ -24,20 +24,13 @@ #define APP_LINK_H #include -#include -#include -#include -#include -#include -#include -#include -#include + #include "DocumentObject.h" -#include "FeaturePython.h" -#include "PropertyLinks.h" #include "DocumentObjectExtension.h" #include "FeaturePython.h" #include "GroupExtension.h" +#include "PropertyLinks.h" + //FIXME: ISO C++11 requires at least one argument for the "..." in a variadic macro #if defined(__clang__) diff --git a/src/App/Material.cpp b/src/App/Material.cpp index c4d2775397..64590868c6 100644 --- a/src/App/Material.cpp +++ b/src/App/Material.cpp @@ -27,7 +27,6 @@ # include #endif -#include #include "Material.h" using namespace App; diff --git a/src/App/MaterialObject.cpp b/src/App/MaterialObject.cpp index 424743c799..d4e413db2c 100644 --- a/src/App/MaterialObject.cpp +++ b/src/App/MaterialObject.cpp @@ -23,11 +23,8 @@ #include "PreCompiled.h" -#ifndef _PreComp_ -#endif - #include "MaterialObject.h" -#include "DocumentObjectPy.h" + using namespace App; diff --git a/src/App/MaterialObject.h b/src/App/MaterialObject.h index 5448d6d73b..28da817109 100644 --- a/src/App/MaterialObject.h +++ b/src/App/MaterialObject.h @@ -25,7 +25,6 @@ #define APP_MaterialObject_H #include "DocumentObject.h" -#include "PropertyStandard.h" #include "FeaturePython.h" diff --git a/src/App/MaterialPyImp.cpp b/src/App/MaterialPyImp.cpp index 817c4af932..fee8cebc7e 100644 --- a/src/App/MaterialPyImp.cpp +++ b/src/App/MaterialPyImp.cpp @@ -23,8 +23,6 @@ #include "PreCompiled.h" -#include "App/Material.h" - // inclusion of the generated files (generated out of MaterialPy.xml) #include "MaterialPy.h" #include "MaterialPy.cpp"