From 03b16293dcd67c98dc81a4344414ccbd5ad38a48 Mon Sep 17 00:00:00 2001 From: Baruch Even Date: Sun, 29 Jul 2001 06:01:24 +0000 Subject: [PATCH] Removed annoying popup. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2377 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/graphics/ChangeLog | 5 +++++ src/graphics/GraphicsCacheItem.C | 10 +--------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/graphics/ChangeLog b/src/graphics/ChangeLog index 9eedb41159..896630c7fb 100644 --- a/src/graphics/ChangeLog +++ b/src/graphics/ChangeLog @@ -1,3 +1,8 @@ +2001-07-29 Baruch Even + + * GraphicsCacheItem.C (findTargetFormat): Removed error dialog box, + too annoying. + 2001-07-23 Baruch Even * GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading diff --git a/src/graphics/GraphicsCacheItem.C b/src/graphics/GraphicsCacheItem.C index a5aa650fd7..298f8020b4 100644 --- a/src/graphics/GraphicsCacheItem.C +++ b/src/graphics/GraphicsCacheItem.C @@ -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);