]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/CommandInset.cpp
* the old cursor is stored before dispatch and then used after moving
[lyx.git] / src / mathed / CommandInset.cpp
index 303ca931cac57f294987b48a92003e797e5cdcbc..a53a23355599044cef561fd85621b32b598cd46d 100644 (file)
@@ -31,9 +31,9 @@ CommandInset::CommandInset(docstring const & name)
 }
 
 
-auto_ptr<InsetBase> CommandInset::doClone() const
+auto_ptr<Inset> CommandInset::doClone() const
 {
-       return auto_ptr<InsetBase>(new CommandInset(*this));
+       return auto_ptr<Inset>(new CommandInset(*this));
 }
 
 
@@ -51,7 +51,7 @@ bool CommandInset::metrics(MetricsInfo & mi, Dimension & dim) const
 }
 
 
-InsetBase * CommandInset::editXY(Cursor & cur, int /*x*/, int /*y*/)
+Inset * CommandInset::editXY(Cursor & cur, int /*x*/, int /*y*/)
 {
        edit(cur, true);
        return this;