]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_oversetinset.C
and some mathed de-uglyfication
[features.git] / src / mathed / math_oversetinset.C
index 4053c543b38c816b6091c74ac48ddcbaae981b67..5f32d98e8495add6c0217619452677e13cc5a2cf 100644 (file)
@@ -47,18 +47,16 @@ void MathOversetInset::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-bool MathOversetInset::idxFirst(BufferView & bv) const
+bool MathOversetInset::idxFirst(LCursor & cur) const
 {
-       CursorSlice & cur = cursorTip(bv);
        cur.idx() = 1;
        cur.pos() = 0;
        return true;
 }
 
 
-bool MathOversetInset::idxLast(BufferView & bv) const
+bool MathOversetInset::idxLast(LCursor & cur) const
 {
-       CursorSlice & cur = cursorTip(bv);
        cur.idx() = 1;
        cur.pos() = cur.lastpos();
        return true;