]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetERT.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetERT.h
index 99875c97cfaab55bede6ee40e2801b8def585edd..ca186e93368fefb5f1f89766b2c0a8897de66449 100644 (file)
@@ -44,7 +44,7 @@ public:
        ///
        Inset::Code lyxCode() const { return Inset::ERT_CODE; }
        ///
-       docstring insetName() const { return from_ascii("ERT"); }
+       docstring name() const { return from_ascii("ERT"); }
        ///
        void write(Buffer const & buf, std::ostream & os) const;
        ///
@@ -58,7 +58,7 @@ public:
                  OutputParams const &) const;
        ///
        int plaintext(Buffer const &, odocstream &,
-                     OutputParams const &) const;
+                     OutputParams const &) const;
        ///
        int docbook(Buffer const &, odocstream &,
                    OutputParams const &) const;
@@ -71,7 +71,7 @@ public:
        ///
        bool showInsetDialog(BufferView *) const;
        ///
-       void getDrawFont(LyXFont &) const;
+       void getDrawFont(Font &) const;
        ///
        bool forceDefaultParagraphs(idx_type) const { return true; }
        /// should paragraph indendation be ommitted in any case?
@@ -83,7 +83,7 @@ protected:
        ///
        bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        void init();
        ///