]> git.lyx.org Git - lyx.git/blobdiff - src/LayoutModuleList.cpp
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / LayoutModuleList.cpp
index b05fc120692602fef21330f404503717449dd7b9..7b79531efc47a102bd4187caba9ce46cdefe7b3c 100644 (file)
@@ -63,7 +63,7 @@ bool LayoutModuleList::moduleCanBeAdded(string const & modName,
                if (*it == modName) 
                        return false;
 
-       LyXModule const * const lm = moduleList[modName];
+       LyXModule const * const lm = theModuleList[modName];
        if (!lm)
                return true;
 
@@ -236,7 +236,7 @@ bool LayoutModuleList::checkModuleConsistency(LayoutFile const * const lay)
 
                // determine whether some provided module or some prior module
                // satisfies our requirements
-               LyXModule const * const oldmod = moduleList[modname];
+               LyXModule const * const oldmod = theModuleList[modname];
                if (!oldmod) {
                        LYXERR0("Default module " << modname << 
                                        " added although it is unavailable and can't check requirements.");