]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathUnderset.h
Revert "DocBook: make openParTag/closeTag use paragraphs instead of layouts."
[lyx.git] / src / mathed / InsetMathUnderset.h
index ff671adccba7c77a44a0cd4b87010d022fb07301..565f0d5cc4fc4ce20fc695b5bb89b6b278fe50f8 100644 (file)
@@ -22,17 +22,15 @@ namespace lyx {
 class InsetMathUnderset : public InsetMathFracBase {
 public:
        ///
-       InsetMathUnderset(Buffer * buf) : InsetMathFracBase(buf) {}
+       explicit InsetMathUnderset(Buffer * buf) : InsetMathFracBase(buf) {}
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       idx_type firstIdx() const { return 1; }
+       bool idxFirst(Cursor &) const;
        ///
-       idx_type lastIdx() const { return 1; }
-       ///
-       bool idxUpDown(Cursor & cur, bool up) const;
+       bool idxLast(Cursor &) const;
        ///
        void write(WriteStream & ws) const;
        ///