X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FModuleList.cpp;h=d442d204a559cde98c0e15dec3b70f1063a1143e;hb=10be0c43f20a27a1e6af82241ad5ec6b5cad3eca;hp=6b693b16e624a93fa3c71651c9bb5d3ed1f2a63b;hpb=aafd52f44167d5510be1ddcb974daa9dae486933;p=lyx.git diff --git a/src/ModuleList.cpp b/src/ModuleList.cpp index 6b693b16e6..d442d204a5 100644 --- a/src/ModuleList.cpp +++ b/src/ModuleList.cpp @@ -48,21 +48,14 @@ LyXModule::LyXModule(string const & n, string const & i, vector LyXModule::prerequisites() const { -#ifdef TEX2LYX - return vector(); -#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 }