]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetEnvironment.h
Forgot to restore this before committing 18494. This fixes bug 3725.
[lyx.git] / src / insets / InsetEnvironment.h
index 14d944126abaa1b90d8d1d2ba3f59bf941d4e580..ceefab862a455f97c127af06cfdc31775fd2e46c 100644 (file)
@@ -23,7 +23,7 @@ public:
        ///
        InsetEnvironment(BufferParams const &, std::string const & name);
        ///
-       docstring insetName() const { return name_; }
+       docstring name() const { return name_; }
        ///
        void write(Buffer const & buf, std::ostream & os) const;
        ///
@@ -41,7 +41,7 @@ public:
        ///
        Inset::EDITABLE editable() const { return HIGHLY_EDITABLE; }
        ///
-       LyXLayout_ptr const & layout() const;
+       Layout_ptr 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 */
@@ -51,7 +51,7 @@ protected:
 private:
        virtual std::auto_ptr<Inset> doClone() const;
        /// the layout
-       LyXLayout_ptr layout_;
+       Layout_ptr layout_;
        ///
        docstring name_;
 };