Constness and a typo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27894 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-12-16 14:13:02 +00:00
parent 1457b2c107
commit 6172a07a9d
2 changed files with 3 additions and 3 deletions

View File

@ -70,7 +70,7 @@ InsetLayout::InsetLaTeXType translateLaTeXType(std::string const & str)
} }
bool InsetLayout::read(Lexer & lex, TextClass & tclass) bool InsetLayout::read(Lexer & lex, TextClass const & tclass)
{ {
name_ = support::subst(lex.getDocString(), '_', ' '); name_ = support::subst(lex.getDocString(), '_', ' ');
// FIXME We need to check for name_.empty() here, and // FIXME We need to check for name_.empty() here, and
@ -149,7 +149,7 @@ bool InsetLayout::read(Lexer & lex, TextClass & tclass)
} }
switch (le) { switch (le) {
// FIXME // 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 // way this sort of thing is handled in Layout::read(), namely, by
// using the Lexer. // using the Lexer.
case IL_LYXTYPE: { case IL_LYXTYPE: {

View File

@ -53,7 +53,7 @@ public:
ILT_ERROR ILT_ERROR
}; };
/// ///
bool read(Lexer & lexrc, TextClass & tclass); bool read(Lexer & lexrc, TextClass const & tclass);
/// ///
docstring name() const { return name_; }; docstring name() const { return name_; };
/// ///