]> git.lyx.org Git - lyx.git/blobdiff - src/Lexer.cpp
Fix two thinkos caught by the cppcheck script.
[lyx.git] / src / Lexer.cpp
index 06a3408f41e9591d77afabfbb3074d2f3b18d9de..df2ce6913100ef292cb1c5f8f22f16fe92acff33 100644 (file)
@@ -238,14 +238,8 @@ void Lexer::Pimpl::popTable()
 
 bool Lexer::Pimpl::setFile(FileName const & filename)
 {
-#ifdef TEX2LYX
-       // tex2lyx does not read lyxrc and therefore can't really check for
-       // zipped formats.
-       if (false) {
-#else
        // Check the format of the file.
        if (formats.isZippedFile(filename)) {
-#endif
                LYXERR(Debug::LYXLEX, "lyxlex: compressed");
                // The check only outputs a debug message, because it triggers
                // a bug in compaq cxx 6.2, where is_open() returns 'true' for