From 6e35955ea33f4f2b2ca47a10ea3639f1b6d4e40d Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Sat, 20 Oct 2007 19:48:53 +0000 Subject: [PATCH] make trunk compile git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21086 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/filetools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/support/filetools.cpp b/src/support/filetools.cpp index e7d2bf364b..0d04782818 100644 --- a/src/support/filetools.cpp +++ b/src/support/filetools.cpp @@ -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");