]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex_pimpl.C
* remove various xforms relicts, in particular:
[lyx.git] / src / lyxlex_pimpl.C
index 853b007f829106bc3db53bf506aa8cce8b2eb021..481c579c9bb6a9a84f020f8fec28e8c9f2530ed0 100644 (file)
@@ -140,7 +140,6 @@ bool LyXLex::Pimpl::setFile(string const & filename)
        if (format == "gzip" || format == "zip" || format == "compress") {
                lyxerr[Debug::LYXLEX] << "lyxlex: compressed" << endl;
 
-#ifdef USE_COMPRESSION
                // The check only outputs a debug message, because it triggers
                // a bug in compaq cxx 6.2, where is_open() returns 'true' for
                // a fresh new filebuf.  (JMarc)
@@ -153,9 +152,6 @@ bool LyXLex::Pimpl::setFile(string const & filename)
                name = filename;
                lineno = 0;
                return gz_.component<io::file_source>(1)->is_open() && is.good();
-#else
-               return false;
-#endif
        } else {
                lyxerr[Debug::LYXLEX] << "lyxlex: UNcompressed" << endl;