]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_sizeinset.C
- fix nasty bug due to missing InsetFormula copy c'tor
[features.git] / src / mathed / math_sizeinset.C
index e498cfdd28b1cdbdeb76db85f4728c08b3c8c165..2f9d98b3108917a94cb9eff53b677eb74b5c30ee 100644 (file)
@@ -35,7 +35,7 @@ MathInset * MathSizeInset::clone() const
 }
 
 
-void MathSizeInset::draw(Painter & pain, int x, int y)
+void MathSizeInset::draw(Painter & pain, int x, int y) const
 {
        xo(x);
        yo(y);
@@ -43,7 +43,7 @@ void MathSizeInset::draw(Painter & pain, int x, int y)
 }
 
 
-void MathSizeInset::metrics(MathStyles /* st */)
+void MathSizeInset::metrics(MathStyles /* st */) const
 {
        xcell(0).metrics(style_);
        ascent_   = xcell(0).ascent_;