mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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
This commit is contained in:
parent
da54f505f5
commit
c29bd2ef53
@ -319,7 +319,7 @@ static string const findTargetFormat(string const & from)
|
|||||||
// Use the standard converter if we don't know the format to load
|
// Use the standard converter if we don't know the format to load
|
||||||
// from.
|
// from.
|
||||||
if (from.empty())
|
if (from.empty())
|
||||||
return string("png");
|
return string("ppm");
|
||||||
|
|
||||||
// First ascertain if we can load directly with no conversion
|
// First ascertain if we can load directly with no conversion
|
||||||
FormatList::const_iterator it = formats.begin();
|
FormatList::const_iterator it = formats.begin();
|
||||||
@ -339,9 +339,9 @@ static string const findTargetFormat(string const & from)
|
|||||||
<< " to " << *it);
|
<< " 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
|
// with the standard converter
|
||||||
return string("png");
|
return string("ppm");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user