]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFont.cpp
Properly fix bug 3258.
[lyx.git] / src / mathed / InsetMathFont.cpp
index 6954cd03af73e1e082d861617cec19d3b89c5168..bfeeeff3977120bc30636c6f8b59481b614047aa 100644 (file)
@@ -11,7 +11,7 @@
 #include <config.h>
 
 #include "InsetMathFont.h"
-#include "MathArray.h"
+#include "MathData.h"
 #include "MathStream.h"
 #include "MathParser.h"
 #include "LaTeXFeatures.h"
@@ -28,9 +28,9 @@ InsetMathFont::InsetMathFont(latexkeys const * key)
 {}
 
 
-auto_ptr<InsetBase> InsetMathFont::doClone() const
+auto_ptr<Inset> InsetMathFont::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathFont(*this));
+       return auto_ptr<Inset>(new InsetMathFont(*this));
 }