]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathOverset.h
MathML: remove redundant mrow in InsetMathScript.
[lyx.git] / src / mathed / InsetMathOverset.h
index eb6b86b7988f34fcb49b8c45eacca467497ae8e7..d893e781f34d0866f256cf5d8af188e099ce6e67 100644 (file)
@@ -22,28 +22,32 @@ namespace lyx {
 class InsetMathOverset : public InsetMathFracBase {
 public:
        ///
-       InsetMathOverset(Buffer * buf) : InsetMathFracBase(buf) {}
+       explicit InsetMathOverset(Buffer * buf) : InsetMathFracBase(buf) {}
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const override;
        ///
-       void draw(PainterInfo & pi, int x, int y) const;
+       void draw(PainterInfo & pi, int x, int y) const override;
        ///
-       bool idxUpDown(Cursor & cur, bool up) const;
+       bool idxUpDown(Cursor & cur, bool up) const override;
        ///
-       void write(WriteStream & os) const;
+       bool idxFirst(Cursor &) const override;
        ///
-       void normalize(NormalStream &) const;
+       bool idxLast(Cursor &) const override;
        ///
-       void mathmlize(MathStream &) const;
+       void write(TeXMathStream & os) const override;
        ///
-       void htmlize(HtmlStream &) const;
+       void normalize(NormalStream &) const override;
        ///
-       void validate(LaTeXFeatures & features) const;
+       void mathmlize(MathMLStream &) const override;
        ///
-       InsetCode lyxCode() const { return MATH_OVERSET_CODE; }
+       void htmlize(HtmlStream &) const override;
+       ///
+       void validate(LaTeXFeatures & features) const override;
+       ///
+       InsetCode lyxCode() const override { return MATH_OVERSET_CODE; }
 
 private:
-       virtual Inset * clone() const;
+       Inset * clone() const override;
 };