]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCacheItem.C
Store an InsetBase & in MailInset.
[lyx.git] / src / graphics / GraphicsCacheItem.C
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_)