#include <config.h>
#include "InsetMathMBox.h"
-#include "MathArray.h"
+#include "MathData.h"
#include "MathStream.h"
#include "BufferView.h"
}
-InsetMathMBox::InsetMathMBox(LyXLayout_ptr const & layout)
+InsetMathMBox::InsetMathMBox(Layout_ptr const & layout)
{
text_.paragraphs().clear();
text_.paragraphs().push_back(Paragraph());
}
-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));
}
}
-LyXText * InsetMathMBox::getText(int) const
+Text * InsetMathMBox::getText(int) const
{
return &text_;
}