]> git.lyx.org Git - lyx.git/blobdiff - src/ModuleList.cpp
correct author data
[lyx.git] / src / ModuleList.cpp
index 6b693b16e624a93fa3c71651c9bb5d3ed1f2a63b..d442d204a559cde98c0e15dec3b70f1063a1143e 100644 (file)
@@ -48,21 +48,14 @@ LyXModule::LyXModule(string const & n, string const & i,
 
 vector<string> LyXModule::prerequisites() const
 {
-#ifdef TEX2LYX
-       return vector<string>();
-#else
        if (!checked_)
                isAvailable();
        return prerequisites_;
-#endif
 }
 
 
 bool LyXModule::isAvailable() const
 {
-#ifdef TEX2LYX
-       return true;
-#else
        if (package_list_.empty())
                return true;
        if (checked_)
@@ -79,7 +72,6 @@ bool LyXModule::isAvailable() const
                }
        }
        return available_;
-#endif
 }