Removed annoying popup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2377 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Baruch Even 2001-07-29 06:01:24 +00:00
parent baf92c89a1
commit 03b16293dc
2 changed files with 6 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2001-07-29 Baruch Even <baruch@lyx.org>
* GraphicsCacheItem.C (findTargetFormat): Removed error dialog box,
too annoying.
2001-07-23 Baruch Even <baruch@lyx.org>
* GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading

View File

@ -109,14 +109,6 @@ string const findTargetFormat(string const & from)
if (iter == end) {
// We do not know how to convert the image to something loadable.
lyxerr << "ERROR: Do not know how to convert image." << std::endl;
string const first(_("Cannot convert image to display format"));
string const second1(_("Need converter from "));
string const second2(_(" to "));
string const second(second1 + from + second2 + formats[0]);
WriteAlert(first, second);
return string();
}
@ -146,7 +138,7 @@ GraphicsCacheItem::convertImage(string const & filename)
bool result = converters.Convert(0, filename, tempfile, from, to);
tempfile.append(".xpm");
// For now we are synchronous
imageConverted(result);