]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSymbol.h
Only set buffer if it is not null.
[lyx.git] / src / mathed / InsetMathSymbol.h
index 972fc53844cd33bbc59ec7cd0c7a53154e0e729e..a04a237075d9019f5294c8d5c0a43a21b6e277c0 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_; }
 
@@ -74,7 +74,7 @@ public:
        ///
        void write(WriteStream & os) const override;
        ///
-       void infoize2(odocstream & os) const;
+       void infoize2(odocstream & os) const override;
        ///
        InsetCode lyxCode() const override { return MATH_SYMBOL_CODE; }