]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_factory.C
Replace LString.h with support/std_string.h,
[features.git] / src / mathed / math_factory.C
index b4e6418d604eef624250611870881b9b8bb672d0..9c78975ef3e0dff7befde15b770998bf12ee0199 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <config.h>
 
+#include "math_factory.h"
 #include "math_parser.h"
 #include "math_arrayinset.h"
 #include "math_amsarrayinset.h"
@@ -29,8 +30,8 @@
 #include "math_macro.h"
 #include "math_macrotable.h"
 #include "math_macrotemplate.h"
-#include "math_macroarg.h"
 #include "math_makeboxinset.h"
+#include "math_oversetinset.h"
 #include "math_parboxinset.h"
 #include "math_rootinset.h"
 #include "math_sizeinset.h"
 //#include "insets/insetref.h"
 #include "ref_inset.h"
 
-#include "metricsinfo.h"
-#include "math_data.h"
 #include "debug.h"
 #include "math_support.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
 #include "support/filetools.h" // LibFileSearch
 #include "support/lstrings.h"
 #include "frontends/lyx_gui.h"
 
-#include <map>
 #include <fstream>
 
 using namespace lyx::support;
@@ -237,6 +235,8 @@ MathAtom createMathInset(string const & s)
                        inset << '\'' << endl;
                if (inset == "ref")
                        return MathAtom(new RefInset(l->name));
+               if (inset == "overset")
+                       return MathAtom(new MathOversetInset);
                if (inset == "underset")
                        return MathAtom(new MathUndersetInset);
                if (inset == "decoration")