]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_oversetinset.C
Compile fix gcc 2.95 + stlport
[lyx.git] / src / mathed / math_oversetinset.C
index 4053c543b38c816b6091c74ac48ddcbaae981b67..b16f4b2c7cf96d197b91c357c96088184d7523c0 100644 (file)
@@ -13,7 +13,7 @@
 #include "math_oversetinset.h"
 #include "math_data.h"
 #include "math_mathmlstream.h"
-
+#include "cursor.h"
 
 using std::max;
 using std::auto_ptr;
@@ -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;