]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathFactory.cpp
InsetCommandParams() now takes an InsetCode rather than a string.
[features.git] / src / mathed / MathFactory.cpp
index 00e90f7785f3f2a289655a4aa3b84e2c9e0082eb..2127f65eb8f0469c75e4cdb26de85990c4bea847 100644 (file)
@@ -424,7 +424,7 @@ bool createInsetMath_fromDialogStr(docstring const & str, MathData & ar)
        if (name != "ref" )
                return false;
 
-       InsetCommandParams icp("ref");
+       InsetCommandParams icp(REF_CODE);
        // FIXME UNICODE
        InsetCommandMailer::string2params("ref", to_utf8(str), icp);
        mathed_parse_cell(ar, icp.getCommand());