]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSize.h
Only set buffer if it is not null.
[lyx.git] / src / mathed / InsetMathSize.h
index cf299013bcb5fd8f907f31af55b5475b5ed01fb3..37fa003eb591e631874d210ae48da630eccdcc5a 100644 (file)
 #define MATHSIZEINSET_H
 
 #include "InsetMathNest.h"
-#include "MetricsInfo.h"
 
 
 namespace lyx {
 
 
 class latexkeys;
+class MetricsInfo;
 
 /// An inset for \scriptsize etc.
 class InsetMathSize : public InsetMathNest {
@@ -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;
 
        ///
        void write(WriteStream & os) const override;