]> git.lyx.org Git - features.git/commitdiff
Move warning message inside the !success block.
authorAngus Leeming <leeming@lyx.org>
Tue, 25 Feb 2003 16:58:57 +0000 (16:58 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 25 Feb 2003 16:58:57 +0000 (16:58 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6262 a592a061-630c-0410-9148-cb99ea01b6c8

src/graphics/ChangeLog
src/graphics/GraphicsCacheItem.C

index 96431286a100ab4c73c50b67091d469ec894776d..3c2ba3e9d8ed575c520d5e2c9a662fc73a14638c 100644 (file)
@@ -3,6 +3,9 @@
        * LoaderQueue.[Ch]: a simplification of the code, eliminated
        the unneeded input bucket.
 
+       * GraphicsCacheItem.C (imageConverted): move warning inside the
+       !success block.
+
 2003-02-25  Alfredo Braunstein  <abraunst@libero.it>
 
        * PreviewLoader.C (FindFirst): use ==, not < with std::find.
index 2b33c7982c8ea95c898c3147715f74dcd3a6a265..fe38fd16af8856726d452e06de754127e30b3d6c 100644 (file)
@@ -252,9 +252,10 @@ void CacheItem::Impl::imageConverted(bool success)
        cc_.disconnect();
 
        success = !file_to_load_.empty() && IsFileReadable(file_to_load_);
-       lyxerr[Debug::GRAPHICS] << "Unable to find converted file!" << endl;
 
        if (!success) {
+               lyxerr[Debug::GRAPHICS] << "Unable to find converted file!"
+                                       << endl;
                setStatus(ErrorConverting);
 
                if (zipped_)