From c29bd2ef538051dccb06d2c186777b00be3418f6 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Fri, 11 Jul 2008 11:40:47 +0000 Subject: [PATCH] Revert http://www.lyx.org/trac/changeset/25471 /2 This commit hasn't announced in http://bugzilla.lyx.org/show_bug.cgi?id=4749 and bring this bug in a different flavour, see comment 28. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25564 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/graphics/GraphicsCacheItem.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/graphics/GraphicsCacheItem.cpp b/src/graphics/GraphicsCacheItem.cpp index e0cf412095..0859b44649 100644 --- a/src/graphics/GraphicsCacheItem.cpp +++ b/src/graphics/GraphicsCacheItem.cpp @@ -319,7 +319,7 @@ static string const findTargetFormat(string const & from) // Use the standard converter if we don't know the format to load // from. if (from.empty()) - return string("png"); + return string("ppm"); // First ascertain if we can load directly with no conversion FormatList::const_iterator it = formats.begin(); @@ -339,9 +339,9 @@ static string const findTargetFormat(string const & from) << " to " << *it); } - // Failed! so we have to try to convert it to PNG format + // Failed! so we have to try to convert it to PPM format // with the standard converter - return string("png"); + return string("ppm"); }