]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettheorem.C
updates to minipage inset
[lyx.git] / src / insets / insettheorem.C
index 388d876ccdabbf7bb7ff6c5a4f093705d74f0de7..16b19a9d88cde1c4f4f6edba5513578faa6bc805 100644 (file)
@@ -18,7 +18,6 @@
 #include "gettext.h"
 #include "lyxfont.h"
 #include "BufferView.h"
-#include "Painter.h"
 #include "lyxtext.h"
 #include "support/LOstream.h"
 #include "debug.h"
@@ -55,7 +54,7 @@ void InsetTheorem::Write(Buffer const * buf, ostream & os) const
 }
 
 
-Inset * InsetTheorem::Clone() const
+Inset * InsetTheorem::Clone(Buffer const &) const
 {
        InsetTheorem * result = new InsetTheorem;
        
@@ -64,7 +63,7 @@ Inset * InsetTheorem::Clone() const
 }
 
 
-char const * InsetTheorem::EditMessage() const
+string const InsetTheorem::EditMessage() const
 {
        return _("Opened Theorem Inset");
 }
@@ -92,14 +91,3 @@ bool InsetTheorem::InsertInsetAllowed(Inset * inset) const
        }
        return true;
 }
-
-
-#if 0
-LyXFont InsetTheorem::GetDrawFont(BufferView * bv,
-                                 LyXParagraph * p, int pos) const
-{
-       LyXFont fn = getLyXText(bv)->GetFont(bv->buffer(), p, pos);
-       fn.decSize().decSize();
-       return fn;
-}
-#endif