#include "CursorSlice.h"
#include "debug.h"
-#include "LyXText.h"
+#include "Text.h"
#include "Paragraph.h"
#include "mathed/InsetMath.h"
-#include "mathed/MathArray.h"
+#include "mathed/MathData.h"
#include <boost/assert.hpp>
{}
-CursorSlice::CursorSlice(InsetBase & p)
+CursorSlice::CursorSlice(Inset & p)
: inset_(&p), idx_(0), pit_(0), pos_(0)
{
BOOST_ASSERT(inset_);
}
-MathArray & CursorSlice::cell() const
+MathData & CursorSlice::cell() const
{
return inset_->asInsetMath()->cell(idx_);
}