X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathUnderset.cpp;h=87392bd4e0b07f5b6c1173b3c169186b1a2eb73f;hb=7f17f13bfc2ad4e7cdd8ecfce23374e2b3d0c646;hp=c05c759ae63f8e0a93f3ff86dd3b23b12d2cb6f7;hpb=00e305c9d9bd8b0ff54b6c58adb6192d5934ed60;p=lyx.git diff --git a/src/mathed/InsetMathUnderset.cpp b/src/mathed/InsetMathUnderset.cpp index c05c759ae6..87392bd4e0 100644 --- a/src/mathed/InsetMathUnderset.cpp +++ b/src/mathed/InsetMathUnderset.cpp @@ -11,10 +11,10 @@ #include #include "InsetMathUnderset.h" -#include "MathArray.h" +#include "MathData.h" #include "MathStream.h" -#include "LCursor.h" +#include "Cursor.h" #include "LaTeXFeatures.h" @@ -25,9 +25,9 @@ using std::auto_ptr; -auto_ptr InsetMathUnderset::doClone() const +auto_ptr InsetMathUnderset::doClone() const { - return auto_ptr(new InsetMathUnderset(*this)); + return auto_ptr(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)