}
-bool InsetLayout::read(Lexer & lex, TextClass & tclass)
+bool InsetLayout::read(Lexer & lex, TextClass const & tclass)
{
name_ = support::subst(lex.getDocString(), '_', ' ');
// FIXME We need to check for name_.empty() here, and
}
switch (le) {
// FIXME
- // Perhaps a mroe elegant way to deal with the next two would be the
+ // Perhaps a more elegant way to deal with the next two would be the
// way this sort of thing is handled in Layout::read(), namely, by
// using the Lexer.
case IL_LYXTYPE: {
ILT_ERROR
};
///
- bool read(Lexer & lexrc, TextClass & tclass);
+ bool read(Lexer & lexrc, TextClass const & tclass);
///
docstring name() const { return name_; };
///