]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCache.C
remove more forms.h cruft
[lyx.git] / src / graphics / GraphicsCache.C
index 8692afebeff58e4ee3e9cbb52f5e9cf5ccacade6..fe2de807c940174056b3a7564b71faff8be744c2 100644 (file)
@@ -1,10 +1,9 @@
-// -*- C++ -*-
 /* This file is part of
  * =================================================
  * 
  *          LyX, The Document Processor
  *          Copyright 1995 Matthias Ettrich.
- *          Copyright 1995-2000 The LyX Team.
+ *          Copyright 1995-2001 The LyX Team.
  *
  *          This file Copyright 2000 Baruch Even
  * ================================================= */
@@ -40,7 +39,7 @@ GraphicsCache::addFile(string const & filename)
        CacheType::iterator it = cache.find(filename);
        
        if (it != cache.end()) {
-               return (*it).second;
+               return it->second;
        }
        
        shared_ptr_item cacheItem(new GraphicsCacheItem(filename));