]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathOverset.cpp
* up/down jumps between macro parameters
[lyx.git] / src / mathed / InsetMathOverset.cpp
index 1c7b2fd7fb5a658d30946ec573f551a7e4628cd2..7cf16f20e763002bdaac7822b77a7522a70cd694 100644 (file)
 #include <config.h>
 
 #include "InsetMathOverset.h"
-#include "MathArray.h"
+#include "MathData.h"
 #include "MathStream.h"
 
-#include "LCursor.h"
+#include "Cursor.h"
 #include "LaTeXFeatures.h"
 
 
@@ -24,9 +24,9 @@ using std::max;
 using std::auto_ptr;
 
 
-auto_ptr<InsetBase> InsetMathOverset::doClone() const
+auto_ptr<Inset> InsetMathOverset::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathOverset(*this));
+       return auto_ptr<Inset>(new InsetMathOverset(*this));
 }
 
 
@@ -57,7 +57,7 @@ void InsetMathOverset::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-bool InsetMathOverset::idxFirst(LCursor & cur) const
+bool InsetMathOverset::idxFirst(Cursor & cur) const
 {
        cur.idx() = 1;
        cur.pos() = 0;
@@ -65,7 +65,7 @@ bool InsetMathOverset::idxFirst(LCursor & cur) const
 }
 
 
-bool InsetMathOverset::idxLast(LCursor & cur) const
+bool InsetMathOverset::idxLast(Cursor & cur) const
 {
        cur.idx() = 1;
        cur.pos() = cur.lastpos();