X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fformula.C;h=a4185a9cdcc6275b026264a8c3993c6139a967c2;hb=fbb9a99704dc0b67a37b7638973ab802dc7bbffe;hp=19e1f78f489c5add63315c7f75f89c6e85be3555;hpb=a6fc77c8e9c48436987bd0545c378331822119e2;p=lyx.git diff --git a/src/mathed/formula.C b/src/mathed/formula.C index 19e1f78f48..a4185a9cdc 100644 --- a/src/mathed/formula.C +++ b/src/mathed/formula.C @@ -305,7 +305,8 @@ void InsetFormula::Read(Buffer const *, LyXLex & lex) // Silly hack to read labels. mathed_label.erase(); - mathed_parse(0, 0, &par); + MathedArray ar; + mathed_parse(ar, 0, &par); par->Metrics(); disp_flag = (par->GetType() > 0); @@ -1224,7 +1225,7 @@ InsetFormula::LocalDispatch(BufferView * bv, int action, string const & arg) static void mathedValidate(LaTeXFeatures & features, MathParInset * par) { - MathedIter it(par->GetData()); + MathedIter it(&par->GetData()); while (it.OK() && !(features.binom && features.boldsymbol)) { if (it.IsInset()) {