]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathParser.cpp
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / MathParser.cpp
index 2a63b824b3a9155056d75f2749c7048e3a6a5b86..255dbadc9e4e2bc345a0011c73559a788baf3da1 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;
 }
@@ -292,7 +292,7 @@ ostream & operator<<(ostream & os, Token const & t)
                docstring const & cs = t.cs();
                // FIXME: For some strange reason, the stream operator instanciate
                // a new Token before outputting the contents of t.cs().
-               // Because of this the line 
+               // Because of this the line
                //     os << '\\' << cs;
                // below becomes recursive.
                // In order to avoid that we return early:
@@ -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);
                }