]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileName.cpp
Minor cleanup.
[lyx.git] / src / support / FileName.cpp
index a16278fce4d21f720be487e6dad7913b728cb146..9edbe619f3ea945f4c26d6deb9f471d212b6825b 100644 (file)
@@ -933,10 +933,6 @@ string FileName::guessFormatFromContents() const
                        format = "fits";
        }
 
-       // Dia knows also compressed form
-       if ((format == "gzip") && (!compare_ascii_no_case(extension(), "dia")))
-               format="dia";
-
        if (!format.empty()) {
                LYXERR(Debug::GRAPHICS, "Recognised Fileformat: " << format);
                return format;