]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetEnvironment.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetEnvironment.h
index a666ff439e3f0cd65e8f853d3ed65ebac7ec353d..b71543f2c5f0c1bb17f2b396bb5966fdafffb792 100644 (file)
@@ -41,7 +41,7 @@ public:
        ///
        Inset::EDITABLE editable() const { return HIGHLY_EDITABLE; }
        ///
-       Layout_ptr const & layout() const;
+       LayoutPtr const & layout() const;
        /** returns true if, when outputing LaTeX, font changes should
            be closed before generating this inset. This is needed for
            insets that may contain several paragraphs */
@@ -49,9 +49,9 @@ public:
 protected:
        InsetEnvironment(InsetEnvironment const &);
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        /// the layout
-       Layout_ptr layout_;
+       LayoutPtr layout_;
        ///
        docstring name_;
 };