mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24135 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e1453ef687
commit
3b7b39b614
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user