]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCache.cpp
Fix comparing a pointer with a char
[lyx.git] / src / graphics / GraphicsCache.cpp
index d36de0fbe260257bf88627a8efffe74dd691bc69..d50856389197f057675ebc910068d81ff7c34534 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>
 
@@ -74,7 +75,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) {