]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCache.cpp
Rationalise includes
[lyx.git] / src / graphics / GraphicsCache.cpp
index d50856389197f057675ebc910068d81ff7c34534..5ed905252d71343d9571aea74b975eb2c4d88e3b 100644 (file)
@@ -44,6 +44,7 @@ public:
 };
 
 
+// FIXME THREAD
 Cache & Cache::get()
 {
        // Now return the cache
@@ -93,11 +94,8 @@ vector<string> const & Cache::loadableFormats() const
                vector<string>::const_iterator fbegin = fmts.begin();
                vector<string>::const_iterator fend = fmts.end();
                for (vector<string>::const_iterator fit = fbegin; fit != fend; ++fit) {
-                       if (fit != fbegin)
-                               LYXERR(Debug::GRAPHICS, ", ");
-                       LYXERR(Debug::GRAPHICS, *fit);
+                       LYXERR(Debug::GRAPHICS, *fit << ',');
                }
-               LYXERR(Debug::GRAPHICS, '\n');
        }
 
        return fmts;