]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathStackrel.h
Revert "Fix a number of signedness warnings"
[lyx.git] / src / mathed / InsetMathStackrel.h
index 2dc7a4975c5043230ace25d3a0a5ef8dcd1cb9d9..0e5514fd38be3a1a9d78919b687782315cc44c1f 100644 (file)
@@ -22,32 +22,32 @@ public:
        ///
        InsetMathStackrel(Buffer * buf, bool sub);
        ///
-       bool idxUpDown(Cursor &, bool up) const;
+       bool idxUpDown(Cursor &, bool up) const override;
        ///
-       MathClass mathClass() const;
+       bool idxFirst(Cursor &) const override;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool idxLast(Cursor &) const override;
        ///
-       void draw(PainterInfo & pi, int x, int y) const;
+       MathClass mathClass() const override;
        ///
-       idx_type firstIdx() const { return 1; }
+       void metrics(MetricsInfo & mi, Dimension & dim) const override;
        ///
-       idx_type lastIdx() const { return 1; }
+       void draw(PainterInfo & pi, int x, int y) const override;
        ///
-       void write(WriteStream & os) const;
+       void write(WriteStream & os) const override;
        ///
-       void normalize(NormalStream &) const;
+       void normalize(NormalStream &) const override;
        ///
-       void mathmlize(MathStream &) const;
+       void mathmlize(MathStream &) const override;
        ///
-       void htmlize(HtmlStream &) const;
+       void htmlize(HtmlStream &) const override;
        ///
-       void validate(LaTeXFeatures &) const;
+       void validate(LaTeXFeatures &) const override;
        ///
-       InsetCode lyxCode() const { return MATH_STACKREL_CODE; }
+       InsetCode lyxCode() const override { return MATH_STACKREL_CODE; }
 
 private:
-       virtual Inset * clone() const;
+       Inset * clone() const override;
 };
 
 } // namespace lyx