Including MathData.h in InsetMath.h is expensive and not required.
#include "mathed/InsetMath.h"
#include "mathed/InsetMathGrid.h"
#include "mathed/InsetMathHull.h"
+#include "mathed/MathData.h"
#include "mathed/MathStream.h"
#include "mathed/MathSupport.h"
#ifndef MATH_INSET_H
#define MATH_INSET_H
-#include "MathData.h"
-
#include "insets/Inset.h"
class MathStream;
class WriteStream;
+class MathData;
class MathMacroTemplate;
class MathMacro;
class Cursor;
#include "InsetMathBig.h"
+#include "Dimension.h"
#include "LaTeXFeatures.h"
+
#include "MathSupport.h"
#include "MathStream.h"
#include "MetricsInfo.h"
#include "InsetMathDots.h"
+#include "Dimension.h"
#include "LaTeXFeatures.h"
#include "MathStream.h"
#include "MathSupport.h"
#define MATH_NESTINSET_H
#include "InsetMath.h"
+#include "MathData.h"
#include <map>