X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2Fepstools.cpp;h=d5674ba7d18205c168bb05318e9165ba34469bc6;hb=ab81c23656b59aa14c41b8acc45f0f3e410ed785;hp=2fd67dcf8a8b095a7374c56338ea3e6513bd7301;hpb=670efa8f646218f2a378f0cc614c4c37a9f6b89a;p=lyx.git diff --git a/src/graphics/epstools.cpp b/src/graphics/epstools.cpp index 2fd67dcf8a..d5674ba7d1 100644 --- a/src/graphics/epstools.cpp +++ b/src/graphics/epstools.cpp @@ -47,9 +47,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 const zipped = formats.isZippedFile(file); + bool const zipped = theFormats().isZippedFile(file); FileName const file_ = zipped ? unzipFile(file) : file; - string const format = formats.getFormatFromFile(file_); + string const format = theFormats().getFormatFromFile(file_); if (!Formats::isPostScriptFileFormat(format)) { LYXERR(Debug::GRAPHICS, "[readBB_from_PSFile] no(e)ps-format");