]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/CommandInset.cpp
* Inset and derivatives: insetName() -> name()
[lyx.git] / src / mathed / CommandInset.cpp
index 23de2c5d527359e17412a8d5a8bfad31de666d80..a53a23355599044cef561fd85621b32b598cd46d 100644 (file)
 #include <config.h>
 
 #include "CommandInset.h"
-#include "MathArray.h"
+#include "MathData.h"
 #include "MathStream.h"
-#include "dispatchresult.h"
-#include "funcrequest.h"
+#include "DispatchResult.h"
+#include "FuncRequest.h"
 
 #include <sstream>
 
@@ -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(LCursor & cur, int /*x*/, int /*y*/)
+Inset * CommandInset::editXY(Cursor & cur, int /*x*/, int /*y*/)
 {
        edit(cur, true);
        return this;