- setCmdName(lex.getString());
- lyxerr[Debug::INSETS] << "FloatList::float_type: " << getCmdName() << endl;
- if (!floats.typeExist(getCmdName()))
+ setParam("type", lex.getDocString());
+ lyxerr[Debug::INSETS] << "FloatList::float_type: "
+ << to_ascii(getParam("type")) << endl;
+ if (!floats.typeExist(to_ascii(getParam("type"))))