X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTextClass.cpp;h=4058815d599e25fb1f4f46e757094380726c012d;hb=771940d5d73e062da6300cbee2eab12ab31981b2;hp=d992c5ccd2e7d30737d1614532816f34f425259d;hpb=7c7ea3113f0f76a8788b20652008d4bcc7ff7265;p=lyx.git diff --git a/src/TextClass.cpp b/src/TextClass.cpp index d992c5ccd2..4058815d59 100644 --- a/src/TextClass.cpp +++ b/src/TextClass.cpp @@ -1433,7 +1433,7 @@ bool TextClass::readFloat(Lexer & lexrc) string style; string type; string within; - string requires; + string required; bool usesfloat = true; bool ispredefined = false; bool allowswide = true; @@ -1511,7 +1511,7 @@ bool TextClass::readFloat(Lexer & lexrc) break; case FT_REQUIRES: lexrc.next(); - requires = lexrc.getString(); + required = lexrc.getString(); break; case FT_PREDEFINED: lexrc.next(); @@ -1563,9 +1563,9 @@ bool TextClass::readFloat(Lexer & lexrc) "not be able to produce a float list."); } Floating fl(type, placement, ext, within, style, name, - listname, listcommand, refprefix, allowed_placement, - htmltag, htmlattr, htmlstyle, requires, usesfloat, - ispredefined, allowswide, allowssideways); + listname, listcommand, refprefix, allowed_placement, + htmltag, htmlattr, htmlstyle, required, usesfloat, + ispredefined, allowswide, allowssideways); floatlist_.newFloat(fl); // each float has its own counter counters_.newCounter(from_ascii(type), from_ascii(within),