]> git.lyx.org Git - lyx.git/commitdiff
compile fix
authorAndré Pönitz <poenitz@gmx.net>
Sat, 5 Apr 2008 21:36:26 +0000 (21:36 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Sat, 5 Apr 2008 21:36:26 +0000 (21:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24135 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ExternalTemplate.cpp

index c172ccf13609b3dc6b3d428b5add636ed5133333..cede8a1d4ee18b77cfc3acaaf80ff03f8210bac8 100644 (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);