]> git.lyx.org Git - lyx.git/blobdiff - src/ModuleList.cpp
This doesn't return a reference any more.
[lyx.git] / src / ModuleList.cpp
index 0f492178122ae0884d288c52369fedcbcc4fa093..b22f48d8e62972c51b9027afa7c1f7b27108a9bd 100644 (file)
@@ -76,7 +76,7 @@ public:
 };
 
 
-//Much of this is borrowed from TextClassList::read()
+//Much of this is borrowed from LayoutFileList::read()
 bool ModuleList::load()
 {
        FileName const real_file = libFileSearch("", "lyxmodules.lst");
@@ -90,7 +90,7 @@ bool ModuleList::load()
                return false;
        }
 
-       Lexer lex(0, 0);
+       Lexer lex;
        if (!lex.setFile(real_file)) {
                lyxerr << "ModuleList::load():"
                                "lyxlex was not able to set file: "