]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCache.C
hopefully fix tex2lyx linking.
[lyx.git] / src / graphics / GraphicsCache.C
index 12b0abc55beff6b962468d69590d9c74735923e0..de5b63ad4c32edeaf582b124c0a1ef93dbb246dd 100644 (file)
@@ -34,7 +34,8 @@ namespace graphics {
  */
 typedef std::map<string, Cache::ItemPtr> CacheType;
 
-struct Cache::Impl {
+class Cache::Impl {
+public:
        ///
        CacheType cache;
 };
@@ -65,7 +66,7 @@ std::vector<string> Cache::loadableFormats() const
 
 void Cache::add(string const & file) const
 {
-       if (!support::AbsolutePath(file)) {
+       if (!support::absolutePath(file)) {
                lyxerr << "Cache::add(" << file << "):\n"
                       << "The file must be have an absolute path."
                       << std::endl;