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
This commit is contained in:
Pavel Sanda 2008-07-11 11:40:47 +00:00
parent da54f505f5
commit c29bd2ef53

View File

@ -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");
}