]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIPA.h
Some things did not need to be mutable after all
[lyx.git] / src / insets / InsetIPA.h
index b3b90ee4333ce941f76164969663c4a8ef58296b..9b702c92b368cd7fa06c31efd94259f70ca5badc 100644 (file)
@@ -16,7 +16,8 @@
 
 #include "Dimension.h"
 
-#include <boost/scoped_ptr.hpp>
+#include "support/unique_ptr.h"
+
 
 namespace lyx {
 
@@ -93,13 +94,7 @@ protected:
        void preparePreview(DocIterator const & pos) const;
 
        ///
-       boost::scoped_ptr<RenderPreview> preview_;
-       ///
-       mutable bool use_preview_;
-
-private:
-       ///
-       mutable Dimension dim_;
+       unique_ptr<RenderPreview> preview_;
 };