]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLabel.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetLabel.h
index ba1fe4a533019badc817ac015211620e6e3acc87..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;
        ///
@@ -36,9 +36,9 @@ public:
        ///
        int docbook(Buffer const &, odocstream &, OutputParams const &) const;
 protected:
-       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+       virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };