make trunk compile

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21086 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2007-10-20 19:48:53 +00:00
parent fbb3abfeac
commit 6e35955ea3

View 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");