X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMath.cpp;h=ba559e7eb6b4888080cc140c303526125602a65a;hb=3e79e0f5f00add2c735d372f4734cf31f64b7e5f;hp=cbf33cdf8707bf76aa82d51131fa181fc3eb53e3;hpb=f643ae700700cbd9aa0b1aca8155c6d7f2aee34d;p=lyx.git diff --git a/src/mathed/InsetMath.cpp b/src/mathed/InsetMath.cpp index cbf33cdf87..ba559e7eb6 100644 --- a/src/mathed/InsetMath.cpp +++ b/src/mathed/InsetMath.cpp @@ -58,11 +58,10 @@ MathClass InsetMath::mathClass() const } -bool InsetMath::addToMathRow(MathRow & mrow, MetricsInfo & mi) const +bool InsetMath::addToMathRow(MathRow & mrow, MetricsInfo & ) const { - MathRow::Element e(MathRow::INSET, mi); + MathRow::Element e(MathRow::INSET, mathClass()); e.inset = this; - e.mclass = mathClass(); mrow.push_back(e); return true; }