]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathFactory.cpp
Another warning.
[lyx.git] / src / mathed / MathFactory.cpp
index ee2841a2080b467928fdf186b9b97f116ab5cd63..913c44ce7d6b52d69c9f2f45113d889a198329fb 100644 (file)
@@ -520,7 +520,7 @@ bool createInsetMath_fromDialogStr(docstring const & str, MathData & ar)
        if (name == "ref") {
                InsetCommandParams icp(REF_CODE);
                // FIXME UNICODE
-               InsetCommand::string2params("ref", to_utf8(str), icp);
+               InsetCommand::string2params(to_utf8(str), icp);
                Encoding const * const utf8 = encodings.fromLyXName("utf8");
                OutputParams op(utf8);
                mathed_parse_cell(ar, icp.getCommand(op));