]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetRef.cpp
InsetCommandParams() now takes an InsetCode rather than a string.
[features.git] / src / insets / InsetRef.cpp
index 49606c425bf1abbf69746ef66a395719b3ace74e..f1838c28fcf71a2bfe74fce5969dbef1799e7710 100644 (file)
@@ -84,7 +84,7 @@ int InsetRef::latex(Buffer const &, odocstream & os,
 {
        // We don't want to output p_["name"], since that is only used 
        // in docbook. So we construct new params, without it, and use that.
-       InsetCommandParams p("ref", getCmdName());
+       InsetCommandParams p(REF_CODE, getCmdName());
        p["reference"] = getParam("reference");
        os << escape(p.getCommand());
        return 0;