]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.C
The std::string mammoth path.
[lyx.git] / src / graphics / PreviewImage.C
index 4a3b9a1ee270b3b2b02977bc17fd8898c1d1f6b7..6aa987e4847e9bf659fd6520080a012ec8f6649f 100644 (file)
 #include <config.h>
 
 #include "PreviewImage.h"
-#include "PreviewLoader.h"
 #include "GraphicsImage.h"
 #include "GraphicsLoader.h"
+#include "PreviewLoader.h"
 
 #include "support/lyxlib.h"
 
 #include <boost/bind.hpp>
-#include <boost/signals/trackable.hpp>
 
-using namespace lyx::support;
+namespace support = lyx::support;
+
+using std::string;
+
 
 namespace lyx {
 namespace graphics {
@@ -114,7 +116,7 @@ PreviewImage::Impl::Impl(PreviewImage & p, PreviewLoader & l,
 
 PreviewImage::Impl::~Impl()
 {
-       unlink(iloader_.filename());
+       support::unlink(iloader_.filename());
 }
 
 
@@ -147,7 +149,7 @@ void PreviewImage::Impl::statusChanged()
                break;
 
        case Ready:
-               unlink(iloader_.filename());
+               support::unlink(iloader_.filename());
                ploader_.emitSignal(parent_);
                break;
        }