]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMacroArgument.h
typo
[lyx.git] / src / mathed / InsetMathMacroArgument.h
index 178c89818d3679bf2fe8c1d3f67b95eefa7cb973..c11a9a6dbb2928b31c0aacb93e05db3f4a162f94 100644 (file)
@@ -24,18 +24,18 @@ namespace lyx {
 // A # that failed to parse
 class InsetMathHash : public InsetMath {
 public:
-       InsetMathHash(docstring const & str = docstring()) : str_('#' + str) {};
+       explicit InsetMathHash(docstring const & str = docstring()) : str_('#' + str) {}
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       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;
        ///
-       void normalize(NormalStream &) const;
+       void normalize(NormalStream &) const override;
        ///
-       void write(WriteStream & os) const;
+       void write(TeXMathStream & os) const override;
 
 private:
-       Inset * clone() const;
+       Inset * clone() const override;
 
 protected:
        ///
@@ -53,13 +53,13 @@ public:
        /// Assumes 0 < n <= 9
        void setNumber(int n);
        ///
-       InsetCode lyxCode() const { return MATH_MACROARG_CODE; }
+       InsetCode lyxCode() const override { return MATH_MACROARG_CODE; }
 
        ///
-       void normalize(NormalStream &) const;
+       void normalize(NormalStream &) const override;
 
 private:
-       Inset * clone() const;
+       Inset * clone() const override;
        /// A number between 1 and 9
        int number_;
 };