]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMBox.cpp
rename LyXFont to Font except in tex2lyx
[lyx.git] / src / mathed / InsetMathMBox.cpp
index ce241ff6cf14c56fdcd4da5fe226a1a18390ab81..1b009cf3e872361f0056eec1981c50f8d2cc979b 100644 (file)
 #include <config.h>
 
 #include "InsetMathMBox.h"
-#include "MathArray.h"
+#include "MathData.h"
 #include "MathStream.h"
 
 #include "BufferView.h"
 #include "Buffer.h"
 #include "BufferParams.h"
-#include "LCursor.h"
+#include "Cursor.h"
 #include "debug.h"
 #include "MetricsInfo.h"
 #include "output_latex.h"
@@ -49,9 +49,9 @@ InsetMathMBox::InsetMathMBox(LyXLayout_ptr const & layout)
 }
 
 
-auto_ptr<InsetBase> InsetMathMBox::doClone() const
+auto_ptr<Inset> InsetMathMBox::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathMBox(*this));
+       return auto_ptr<Inset>(new InsetMathMBox(*this));
 }
 
 
@@ -104,7 +104,7 @@ int InsetMathMBox::latex(Buffer const & buf, odocstream & os,
 }
 
 
-void InsetMathMBox::doDispatch(LCursor & cur, FuncRequest & cmd)
+void InsetMathMBox::doDispatch(Cursor & cur, FuncRequest & cmd)
 {
        text_.dispatch(cur, cmd);
 }