[LyX/master] Move MetricsInfo.h from InsetMathSize.h

Pavel Sanda sanda at lyx.org
Wed Oct 14 12:30:45 UTC 2020


commit 560ff6d40d9e2aaefc46af9d68e26663891986a5
Author: Pavel Sanda <sanda at lyx.org>
Date:   Wed Oct 14 14:58:18 2020 +0200

    Move MetricsInfo.h from InsetMathSize.h
---
 src/mathed/InsetMathSize.cpp |    1 +
 src/mathed/InsetMathSize.h   |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mathed/InsetMathSize.cpp b/src/mathed/InsetMathSize.cpp
index dff61da..baacaff 100644
--- a/src/mathed/InsetMathSize.cpp
+++ b/src/mathed/InsetMathSize.cpp
@@ -16,6 +16,7 @@
 #include "MathData.h"
 #include "MathParser.h"
 #include "MathStream.h"
+#include "MetricsInfo.h"
 #include "output_xhtml.h"
 
 #include "support/convert.h"
diff --git a/src/mathed/InsetMathSize.h b/src/mathed/InsetMathSize.h
index 6d0f52f..37fa003 100644
--- a/src/mathed/InsetMathSize.h
+++ b/src/mathed/InsetMathSize.h
@@ -13,13 +13,13 @@
 #define MATHSIZEINSET_H
 
 #include "InsetMathNest.h"
-#include "MetricsInfo.h"
 
 
 namespace lyx {
 
 
 class latexkeys;
+class MetricsInfo;
 
 /// An inset for \scriptsize etc.
 class InsetMathSize : public InsetMathNest {


More information about the lyx-cvs mailing list