mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Recognize also dia's compressed format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28216 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
aa2aee5c9b
commit
8883d5438e
@ -892,6 +892,10 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user