]> git.lyx.org Git - features.git/commitdiff
Remove useless #include
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 30 Sep 2016 14:50:09 +0000 (16:50 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 14 Oct 2016 09:08:04 +0000 (11:08 +0200)
Including MathData.h in InsetMath.h is expensive and not required.

src/lyxfind.cpp
src/mathed/InsetMath.h
src/mathed/InsetMathBig.cpp
src/mathed/InsetMathDots.cpp
src/mathed/InsetMathNest.h

index 4d01547aa281a3f84a5a4bb730504ac8b41b2b90..38fcbfb4ec7274c4fecd22b545109de81ff33788 100644 (file)
@@ -39,6 +39,7 @@
 #include "mathed/InsetMath.h"
 #include "mathed/InsetMathGrid.h"
 #include "mathed/InsetMathHull.h"
+#include "mathed/MathData.h"
 #include "mathed/MathStream.h"
 #include "mathed/MathSupport.h"
 
index 3bab681df85f675a16289929dfb0ede7d7422135..da84af1010c101ef16d084680ae9f97bd5bd625c 100644 (file)
@@ -13,8 +13,6 @@
 #ifndef MATH_INSET_H
 #define MATH_INSET_H
 
-#include "MathData.h"
-
 #include "insets/Inset.h"
 
 
@@ -84,6 +82,7 @@ class MathematicaStream;
 class MathStream;
 class WriteStream;
 
+class MathData;
 class MathMacroTemplate;
 class MathMacro;
 class Cursor;
index 293ff8b80db6cb3bab84342537a5f01ed7794225..9c2f3bff5b3f88ab7471bb1fde661fba115d248d 100644 (file)
@@ -12,7 +12,9 @@
 
 #include "InsetMathBig.h"
 
+#include "Dimension.h"
 #include "LaTeXFeatures.h"
+
 #include "MathSupport.h"
 #include "MathStream.h"
 #include "MetricsInfo.h"
index d13cdd902f87e724656ce7c57265077586930157..b5799643518e735fdffff35655af923e223a8cdb 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "InsetMathDots.h"
 
+#include "Dimension.h"
 #include "LaTeXFeatures.h"
 #include "MathStream.h"
 #include "MathSupport.h"
index b9cc1f66d48967b076f744084e381b23ef0a6bd5..a10299e0fdcf1b9b946b0536fae1923416db7e07 100644 (file)
@@ -13,6 +13,7 @@
 #define MATH_NESTINSET_H
 
 #include "InsetMath.h"
+#include "MathData.h"
 
 #include <map>