]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCacheItem.cpp
Change the "empty layout" to the "plain layout", to try to avoid confusion.
[lyx.git] / src / graphics / GraphicsCacheItem.cpp
index 0859b446497b55ff1c3dd5b83e6706233e5a19cf..ff83f6f7d23ccb96b3a4fd9dc19c3ce789cf035d 100644 (file)
@@ -422,10 +422,6 @@ void CacheItem::Impl::convertToDisplayFormat()
        FileName const to_file_base = FileName::tempName("CacheItem");
        remove_loaded_file_ = true;
 
-       // Remove the temp file, we only want the name...
-       // FIXME: This is unsafe!
-       to_file_base.removeFile();
-
        // Connect a signal to this->imageConverted and pass this signal to
        // the graphics converter so that we can load the modified file
        // on completion of the conversion process.