]> git.lyx.org Git - lyx.git/blobdiff - src/cursor_slice.h
Fix bug 886 and others not reported related with the document paper size.
[lyx.git] / src / cursor_slice.h
index 304dceb901e0e821e36fb9c5290ab11c901c7ad3..017def63a43b2e132208adcda3877122a3c80e92 100644 (file)
@@ -28,13 +28,12 @@ class MathInset;
 class MathArray;
 class LyXText;
 class Paragraph;
-class UpdatableInset;
 
 
 /// This encapsulates a single slice of a document iterator as used e.g.
 /// for cursors.
 
-// After IU, the distinction of MathInset and UpdatableInset as well as
+// After IU, the distinction of MathInset and InsetOld as well as
 // that of MathArray and LyXText should vanish. They are conceptually the
 // same (now...)
 
@@ -108,8 +107,6 @@ public:
        LyXText * text();
        /// returns text corresponding to this position
        LyXText const * text() const;
-       /// returns the owning inset if it is an UpdatableInset, else 0
-       UpdatableInset * asUpdatableInset() const;
        /// paragraph in this cell
        Paragraph & paragraph();
        /// paragraph in this cell