]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.h
Remove TextClassPtr without losing the type safety it provided.
[lyx.git] / src / insets / InsetBox.h
index 611647d6f34bdfd23e1bdb2ee44987b654c8e586..d74c68cc9f0d673fe94fc716ff37874e9c7b17d3 100644 (file)
@@ -62,15 +62,15 @@ public:
        ///
        ~InsetBox();
        ///
-       virtual docstring const editMessage() const;
+       docstring editMessage() const;
        ///
        InsetCode lyxCode() const { return BOX_CODE; }
        ///
        docstring name() const;
        ///
-       void write(Buffer const &, std::ostream &) const;
+       void write(std::ostream &) const;
        ///
-       void read(Buffer const & buf, Lexer & lex);
+       void read(Lexer & lex);
        ///
        void setButtonLabel();
        ///
@@ -84,17 +84,17 @@ public:
        ///
        virtual bool forceEmptyLayout() const;
        ///
-       bool neverIndent(Buffer const &) const { return true; }
+       bool neverIndent() const { return true; }
        ///
        bool noFontChange() const { return true; }
        ///
-       bool isMacroScope(Buffer const & buf) const;
+       bool isMacroScope() const;
        ///
-       int latex(Buffer const &, odocstream &, OutputParams const &) const;
+       int latex(odocstream &, OutputParams const &) const;
        ///
-       int plaintext(Buffer const &, odocstream &, OutputParams const &) const;
+       int plaintext(odocstream &, OutputParams const &) const;
        ///
-       int docbook(Buffer const &, odocstream &, OutputParams const &) const;
+       int docbook(odocstream &, OutputParams const &) const;
        ///
        void validate(LaTeXFeatures &) const;
        ///