]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCache.cpp
Fix bug #9319: Problems with space inside math and textrm.
[lyx.git] / src / graphics / GraphicsCache.cpp
index d36de0fbe260257bf88627a8efffe74dd691bc69..b816926c8dff7901b874fe71b58bce8ef6999f94 100644 (file)
 
 #include "Format.h"
 
+#include "frontends/Application.h"
+
 #include "support/debug.h"
 #include "support/FileName.h"
 #include "support/filetools.h"
-#include "support/imagetools.h"
 
 #include <map>
 
@@ -43,6 +44,7 @@ public:
 };
 
 
+// FIXME THREAD
 Cache & Cache::get()
 {
        // Now return the cache
@@ -74,7 +76,7 @@ vector<string> const & Cache::loadableFormats() const
        Formats::const_iterator end   = formats.end();
 
        // The formats natively loadable.
-       vector<string> nformat = loadableImageFormats();
+       vector<string> nformat = frontend::loadableImageFormats();
        
        vector<string>::const_iterator it = nformat.begin();
        for (; it != nformat.end(); ++it) {