#include <config.h>
#include "InsetMathUnderset.h"
-#include "MathArray.h"
+#include "MathData.h"
#include "MathStream.h"
-#include "cursor.h"
+#include "Cursor.h"
#include "LaTeXFeatures.h"
-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));
}
}
-bool InsetMathUnderset::idxFirst(LCursor & cur) const
+bool InsetMathUnderset::idxFirst(Cursor & cur) const
{
cur.idx() = 1;
cur.pos() = 0;
}
-bool InsetMathUnderset::idxLast(LCursor & cur) const
+bool InsetMathUnderset::idxLast(Cursor & cur) const
{
cur.idx() = 1;
cur.pos() = cur.lastpos();
}
-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)