]> git.lyx.org Git - lyx.git/blobdiff - src/CursorSlice.cpp
* do not ignore "requires" field in MathMacro
[lyx.git] / src / CursorSlice.cpp
index 840d4b1c32402768458bd3cd1977a37cbb084ca0..8b64734403d012e090548e0fa35171e173001b6f 100644 (file)
 
 #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>
 
@@ -34,14 +34,14 @@ CursorSlice::CursorSlice()
 {}
 
 
-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_);
 }