int InsetFloat::latex(Buffer const & buf, odocstream & os,
OutputParams const & runparams) const
{
- FloatList const & floats = buf.params().getLyXTextClass().floats();
+ FloatList const & floats = buf.params().getTextClass().floats();
string tmptype = (params_.wide ? params_.type + "*" : params_.type);
if (params_.sideways) {
if (params_.type == "table")
int InsetFloat::plaintext(Buffer const & buf, odocstream & os,
OutputParams const & runparams) const
{
- os << '[' << _("float") << ' ' << floatName(params_.type, buf.params()) << ":\n";
+ os << '[' << buf.B_("float") << ' ' << floatName(params_.type, buf.params()) << ":\n";
InsetText::plaintext(buf, os, runparams);
os << "\n]";
return print_mailer_error("InsetFloatMailer", in, 1, name_);
// This is part of the inset proper that is usually swallowed
- // by LyXText::readInset
+ // by Text::readInset
string id;
lex >> id;
if (!lex || id != "Float")