]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.cpp
Update it.po
[lyx.git] / src / TextClass.cpp
index 4102a345c2ab77f6e1aa734816d021a188b37866..3a9ba6c664d2fe700e152c6255228403c95752cd 100644 (file)
 #include <fstream>
 #include <sstream>
 
+#ifdef ERROR
+#undef ERROR
+#endif
+
 using namespace std;
 using namespace lyx::support;
 
@@ -62,7 +66,7 @@ private:
 };
 
 // Keep the changes documented in the Customization manual. 
-int const FORMAT = 17;
+int const FORMAT = 18;
 
 
 bool layout2layout(FileName const & filename, FileName const & tempfile)
@@ -1198,7 +1202,7 @@ DocumentClass & DocumentClassBundle::makeDocumentClass(
        LayoutModuleList::const_iterator en = modlist.end();
        for (; it != en; it++) {
                string const modName = *it;
-               LyXModule * lm = moduleList[modName];
+               LyXModule * lm = theModuleList[modName];
                if (!lm) {
                        docstring const msg =
                                                bformat(_("The module %1$s has been requested by\n"