]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_macrotemplate.C
- fix nasty bug due to missing InsetFormula copy c'tor
[features.git] / src / mathed / math_macrotemplate.C
index 9756b257418159d6e504dccb04cfdd1e49bced85..60affcd5c4054b4d31bf1233ae662655ca1c09f1 100644 (file)
@@ -49,7 +49,7 @@ void MathMacroTemplate::write(std::ostream & os, bool fragile) const
 }
 
 
-void MathMacroTemplate::metrics(MathStyles st)
+void MathMacroTemplate::metrics(MathStyles st) const
 {
        xcell(0).metrics(st);
        size_    = st;
@@ -59,7 +59,7 @@ void MathMacroTemplate::metrics(MathStyles st)
 }
 
 
-void MathMacroTemplate::draw(Painter & pain, int x, int y)
+void MathMacroTemplate::draw(Painter & pain, int x, int y) const
 {
        xo(x);
        yo(y);