]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTheorem.h
Remove TextClassPtr without losing the type safety it provided.
[lyx.git] / src / insets / InsetTheorem.h
index d22c3451c01de0900b1e9d487a3a154a4bd9f38e..74234954673ea0a4114f77d4b31c7b7dee675fc5 100644 (file)
@@ -27,7 +27,7 @@ public:
        ///
        Inset.heorem();
        ///
-       void write(Buffer const & buf, std::ostream & os) const;
+       void write(std::ostream & os) const;
        ///
        InsetCode lyxCode() const { return THEOREM_CODE; }
        ///
@@ -35,14 +35,13 @@ public:
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       bool isMacroScope(Buffer const & buf) const { return true; }
+       bool isMacroScope() const { return true; }
        ///
-       int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+       int latex(odocstream &, OutputParams const &) const;
        ///
-       virtual docstring const editMessage() const;
+       docstring editMessage() const;
 private:
-       virtual Inset * clone() const;
+       Inset * clone() const;
 
        ///
        mutable unsigned int center_indent_;