]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathParser.cpp
rename LyXFont to Font except in tex2lyx
[lyx.git] / src / mathed / MathParser.cpp
index 2a63b824b3a9155056d75f2749c7048e3a6a5b86..3ce4770b59fd67feeb9dfd32911ee4ab1d6aa26f 100644 (file)
@@ -134,7 +134,7 @@ bool addRow(InsetMathGrid & grid, InsetMathGrid::row_type & cellrow,
                        return false;
                }
        }
-       grid.vcrskip(LyXLength(to_utf8(vskip)), cellrow - 1);
+       grid.vcrskip(Length(to_utf8(vskip)), cellrow - 1);
        grid.rowinfo(cellrow - 1).allow_pagebreak_ = allow_pagebreak;
        return true;
 }
@@ -1106,7 +1106,7 @@ void Parser::parse1(InsetMathGrid & grid, unsigned flags,
 
                else if (t.cs() == "ref" || t.cs() == "prettyref" ||
                                t.cs() == "pageref" || t.cs() == "vpageref" || t.cs() == "vref") {
-                       cell->push_back(MathAtom(new RefInset(t.cs())));
+                       cell->push_back(MathAtom(new InsetMathRef(t.cs())));
                        parse(cell->back().nucleus()->cell(1), FLAG_OPTION, mode);
                        parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode);
                }