]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSymbol.h
We only support gcc >= 4.9.
[lyx.git] / src / mathed / InsetMathSymbol.h
index 972fc53844cd33bbc59ec7cd0c7a53154e0e729e..f894782ab5c1366fe195f6ec3a0b5c81c20f49eb 100644 (file)
@@ -31,7 +31,7 @@ public:
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const override;
        ///
-       void draw(PainterInfo &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const override;
        ///
        int kerning(BufferView const *) const override { return kerning_; }
 
@@ -42,7 +42,7 @@ public:
        ///
        bool isOrdAlpha() const;
        /// The default limits value
-       Limits defaultLimits() const override;
+       Limits defaultLimits(bool display) const override;
        /// whether the inset has limit-like sub/superscript
        Limits limits() const override { return limits_; }
        /// sets types of sub/superscripts
@@ -63,7 +63,7 @@ public:
        ///
        void mathematica(MathematicaStream &) const override;
        ///
-       void mathmlize(MathStream &) const override;
+       void mathmlize(MathMLStream &) const override;
        ///
        void htmlize(HtmlStream &) const override;
        /// \param spacing controls whether we print spaces around
@@ -72,9 +72,9 @@ public:
        ///
        void octave(OctaveStream &) const override;
        ///
-       void write(WriteStream & os) const override;
+       void write(TeXMathStream & os) const override;
        ///
-       void infoize2(odocstream & os) const;
+       void infoize2(odocstream & os) const override;
        ///
        InsetCode lyxCode() const override { return MATH_SYMBOL_CODE; }