From 2fe39e6a2f1e9f20d68c778e35e6e40bc4ef36f5 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 7 Jul 2008 08:47:57 +0000 Subject: [PATCH] Use png as default conversion format. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25471 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/graphics/GraphicsCacheItem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics/GraphicsCacheItem.cpp b/src/graphics/GraphicsCacheItem.cpp index 0859b44649..40de5402f4 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("ppm"); + return string("png"); // First ascertain if we can load directly with no conversion FormatList::const_iterator it = formats.begin(); @@ -341,7 +341,7 @@ static string const findTargetFormat(string const & from) // Failed! so we have to try to convert it to PPM format // with the standard converter - return string("ppm"); + return string("png"); } -- 2.39.2