]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLabel.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetLabel.h
index 746a0cbb4a8057f6cc26ed45abbb5e0c01a88cc8..53d52ad442ea9eeb0a6b1d9a12a07e8523ee321e 100644 (file)
@@ -26,7 +26,7 @@ public:
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       InsetBase::Code lyxCode() const { return InsetBase::LABEL_CODE; }
+       Inset::Code lyxCode() const { return Inset::LABEL_CODE; }
        /// Appends \c list with this label
        void getLabelList(Buffer const &, std::vector<docstring> & list) const;
        ///
@@ -38,7 +38,7 @@ public:
 protected:
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };