]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_matrixinset.C
- fix nasty bug due to missing InsetFormula copy c'tor
[features.git] / src / mathed / math_matrixinset.C
index be321b53fcc610c132d9603d9cabcb49faac3118..bb830b8e42e55d911f06aaaa3a915800930de743 100644 (file)
@@ -93,7 +93,7 @@ MathInset * MathMatrixInset::clone() const
 }
 
 
-void MathMatrixInset::metrics(MathStyles /* st */)
+void MathMatrixInset::metrics(MathStyles) const
 {
        size_ = (getType() == LM_OT_SIMPLE) ? LM_ST_TEXT : LM_ST_DISPLAY;
 
@@ -116,7 +116,7 @@ void MathMatrixInset::metrics(MathStyles /* st */)
 }
 
 
-void MathMatrixInset::draw(Painter & pain, int x, int y)
+void MathMatrixInset::draw(Painter & pain, int x, int y) const
 {
        xo(x);
        yo(y);