]> git.lyx.org Git - lyx.git/blobdiff - src/Format.cpp
Embedding: saving inzip name to .lyx file so that embedded files can always be found...
[lyx.git] / src / Format.cpp
index 2ece9f874205208533e91f9f29d56cf480e22a40..edfdf4135ba1e03ea2d295081b6db20bedf44ba8 100644 (file)
@@ -129,7 +129,7 @@ string Formats::getFormatFromFile(FileName const & filename) const
                return format;
 
        // try to find a format from the file extension.
-       string const ext = support::getExtension(filename.absFilename());
+       string const ext = getExtension(filename.absFilename());
        if (!ext.empty()) {
                // this is ambigous if two formats have the same extension,
                // but better than nothing