if (lex.eatLine()) {
setParam("type", lex.getDocString());
- lyxerr[Debug::INSETS] << "FloatList::float_type: "
+ LYXERR(Debug::INSETS) << "FloatList::float_type: "
<< to_ascii(getParam("type")) << endl;
if (!floats.typeExist(to_ascii(getParam("type"))))
lex.printError("InsetFloatList: Unknown float type: `$$Token'");
int InsetFloatList::latex(Buffer const & buf, odocstream & os,
- OutputParams const &) const
+ OutputParams const &) const
{
FloatList const & floats = buf.params().getLyXTextClass().floats();
FloatList::const_iterator cit = floats[to_ascii(getParam("type"))];
buffer.tocBackend().writePlaintextTocList(to_ascii(getParam("type")), os);
- os << "\n";
- return 0;
+ return PLAINTEXT_NEWLINE;
}