]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewedInset.h
Purely mechanical: move fragile into LatexRunParams.
[lyx.git] / src / graphics / PreviewedInset.h
index fc50017aebabe4f9942651c2b4d92c0ea673985e..5e400908603bbf54b0d0daee8f643fe9ea1bdff5 100644 (file)
@@ -17,7 +17,6 @@
 #define PREVIEWEDINSET_H
 
 #include "LString.h"
-#include <boost/weak_ptr.hpp>
 #include <boost/signals/trackable.hpp>
 #include <boost/signals/connection.hpp>
 
@@ -60,14 +59,11 @@ public:
        /// If !previewReady() returns 0.
        PreviewImage const * pimage() const { return pimage_; }
 
-       ///
-       void setView(BufferView *);
-
 protected:
        /// Allow the daughter classes to cast up to the parent inset.
        Inset * inset() const { return &inset_; }
        ///
-       BufferView * view() const { return view_.get(); }
+       BufferView * view() const;
 
 private:
        /** This method is connected to the grfx::PreviewLoader::imageReady
@@ -84,8 +80,6 @@ private:
        Inset & inset_;
        ///
        string snippet_;
-       ///
-       boost::weak_ptr<BufferView> view_;
 
        /// We don't own this. Cached for efficiency reasons.
        mutable PreviewImage const * pimage_;