]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMBox.cpp
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / InsetMathMBox.cpp
index bdc95de8d6c95b8a14525cb671e3aa64f179ac49..82cad33a4e320507444921ad09b99cda24fae457 100644 (file)
@@ -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));
 }
 
 
@@ -110,7 +110,7 @@ void InsetMathMBox::doDispatch(Cursor & cur, FuncRequest & cmd)
 }
 
 
-LyXText * InsetMathMBox::getText(int) const
+Text * InsetMathMBox::getText(int) const
 {
        return &text_;
 }