X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathOverset.h;h=d893e781f34d0866f256cf5d8af188e099ce6e67;hb=7513d88350867812de3505bcffb9d2f826e52937;hp=eb6b86b7988f34fcb49b8c45eacca467497ae8e7;hpb=097da3a943dc5b7df5272860662c41ed625d849a;p=lyx.git diff --git a/src/mathed/InsetMathOverset.h b/src/mathed/InsetMathOverset.h index eb6b86b798..d893e781f3 100644 --- a/src/mathed/InsetMathOverset.h +++ b/src/mathed/InsetMathOverset.h @@ -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; };