]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCache.cpp
* get rid of support::absolutePath()
[lyx.git] / src / graphics / GraphicsCache.cpp
index 57bb6a9e5f8f5fd4a91d7d5f620988d17129ffd8..89c5053cb6617e51511aa674524a9844fb6aa234 100644 (file)
 #include "GraphicsImage.h"
 
 #include "support/debug.h"
-
+#include "support/FileName.h"
 #include "support/filetools.h"
 
 #include <map>
 
-using std::string;
-
+using namespace std;
+using namespace lyx::support;
 
 namespace lyx {
 
-using support::FileName;
-
 namespace graphics {
 
 /** The cache contains one item per file, so use a map to find the
  *  cache item quickly by filename.
  */
-typedef std::map<FileName, Cache::ItemPtr> CacheType;
+typedef map<FileName, Cache::ItemPtr> CacheType;
 
 class Cache::Impl {
 public:
@@ -61,7 +59,7 @@ Cache::~Cache()
 }
 
 
-std::vector<string> Cache::loadableFormats() const
+vector<string> Cache::loadableFormats() const
 {
        return Image::loadableFormats();
 }