mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
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:
parent
fbb3abfeac
commit
6e35955ea3
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user