]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMBox.cpp
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / InsetMathMBox.cpp
index ce241ff6cf14c56fdcd4da5fe226a1a18390ab81..82cad33a4e320507444921ad09b99cda24fae457 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"
@@ -41,7 +41,7 @@ InsetMathMBox::InsetMathMBox()
 }
 
 
-InsetMathMBox::InsetMathMBox(LyXLayout_ptr const & layout)
+InsetMathMBox::InsetMathMBox(Layout_ptr const & layout)
 {
        text_.paragraphs().clear();
        text_.paragraphs().push_back(Paragraph());
@@ -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,13 +104,13 @@ 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);
 }
 
 
-LyXText * InsetMathMBox::getText(int) const
+Text * InsetMathMBox::getText(int) const
 {
        return &text_;
 }