]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphics.h
updates to minipage inset
[lyx.git] / src / insets / insetgraphics.h
index d0c9925b4703a7dcc866f8852444548efaab0c87..5cb82a91deda5c69aa1cdf7a4c9bd69f8b1f5512 100644 (file)
@@ -20,6 +20,7 @@
 #include "insets/lyxinset.h"
 #include "insets/insetgraphicsParams.h"
 #include "graphics/GraphicsCacheItem.h"
+#include <boost/smart_ptr.hpp>
 
 #include "LaTeXFeatures.h"
 
@@ -113,12 +114,10 @@ private:
        string const prepareFile(Buffer const * buf) const;
 
        /// The graphics cache handle.
-       mutable GraphicsCacheItem * cacheHandle;
+       mutable boost::shared_ptr<GraphicsCacheItem> cacheHandle;
 
-       /// The pixmap
-       mutable LyXImage * pixmap;
        /// is the pixmap initialized?
-       mutable bool updateImage;
+       mutable bool imageLoaded;
 
        InsetGraphicsParams params;
 };