]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathUnderset.cpp
Get package things working with modules prior to UI patch.
[lyx.git] / src / mathed / InsetMathUnderset.cpp
index 577d49e3bb5714ba9e5e969fcc0c0cfe20b85fb0..87392bd4e0b07f5b6c1173b3c169186b1a2eb73f 100644 (file)
@@ -14,7 +14,7 @@
 #include "MathData.h"
 #include "MathStream.h"
 
-#include "cursor.h"
+#include "Cursor.h"
 #include "LaTeXFeatures.h"
 
 
@@ -25,9 +25,9 @@ using std::auto_ptr;
 
 
 
-auto_ptr<InsetBase> InsetMathUnderset::doClone() const
+auto_ptr<Inset> InsetMathUnderset::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathUnderset(*this));
+       return auto_ptr<Inset>(new InsetMathUnderset(*this));
 }
 
 
@@ -58,7 +58,7 @@ void InsetMathUnderset::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-bool InsetMathUnderset::idxFirst(LCursor & cur) const
+bool InsetMathUnderset::idxFirst(Cursor & cur) const
 {
        cur.idx() = 1;
        cur.pos() = 0;
@@ -66,7 +66,7 @@ bool InsetMathUnderset::idxFirst(LCursor & cur) const
 }
 
 
-bool InsetMathUnderset::idxLast(LCursor & cur) const
+bool InsetMathUnderset::idxLast(Cursor & cur) const
 {
        cur.idx() = 1;
        cur.pos() = cur.lastpos();
@@ -74,7 +74,7 @@ bool InsetMathUnderset::idxLast(LCursor & cur) const
 }
 
 
-bool InsetMathUnderset::idxUpDown(LCursor & cur, bool up) const
+bool InsetMathUnderset::idxUpDown(Cursor & cur, bool up) const
 {
        idx_type target = up; // up ? 1 : 0, since upper cell has idx 1
        if (cur.idx() == target)