]> git.lyx.org Git - features.git/commitdiff
make trunk compile
authorBo Peng <bpeng@lyx.org>
Sat, 20 Oct 2007 19:48:53 +0000 (19:48 +0000)
committerBo Peng <bpeng@lyx.org>
Sat, 20 Oct 2007 19:48:53 +0000 (19:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21086 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/filetools.cpp

index e7d2bf364b9c77de8ad26c9986fdc6ae2a073a46..0d04782818f06c4afeec3a189a813a177a52a118 100644 (file)
@@ -935,9 +935,9 @@ string const readBB_from_PSFile(FileName const & file)
        // end of the file. Than we have in the header:
        // %%BoundingBox: (atend)
        // In this case we must check the end.
-       bool zipped = zippedFile(file);
+       bool zipped = file.isZippedFile();
        FileName const file_ = zipped ? unzipFile(file) : file;
-       string const format = getFormatFromContents(file_);
+       string const format = file_.guessFormatFromContents();
 
        if (format != "eps" && format != "ps") {
                readBB_lyxerrMessage(file_, zipped,"no(e)ps-format");