compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24135 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2008-04-05 21:36:26 +00:00
parent e1453ef687
commit 3b7b39b614

View File

@ -202,8 +202,7 @@ TemplateManager & TemplateManager::get()
}
TemplateManager::Templates const &
TemplateManager::getTemplates() const
TemplateManager::Templates const & TemplateManager::getTemplates() const
{
return templates;
}
@ -346,14 +345,15 @@ void Template::readTemplate(Lexer & lex)
automaticProduction = lex.getBool();
break;
case TO_TRANSFORM:
case TO_TRANSFORM: {
lex >> token;
TransformID id = transformIDTranslator().find(token);
if (int(id) == -1)
LYXERR0("Transform " << token << " is not recognized");
else
ids.push_back(id);
transformIds.push_back(id);
break;
}
case TO_FORMAT:
lex.next(true);