]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlist.C
updates to minipage inset
[lyx.git] / src / insets / insetlist.C
index a126b40e677d23dd8e1deee0789f77325c8a015c..2a4be5c851f02c313462c1595fa7265dd19245e9 100644 (file)
@@ -17,7 +17,6 @@
 #include "gettext.h"
 #include "lyxfont.h"
 #include "BufferView.h"
-#include "Painter.h"
 #include "lyxtext.h"
 #include "insets/insettext.h"
 #include "support/LOstream.h"
@@ -58,7 +57,7 @@ void InsetList::Write(Buffer const * buf, ostream & os) const
 }
 
 
-Inset * InsetList::Clone() const
+Inset * InsetList::Clone(Buffer const &) const
 {
        InsetList * result = new InsetList;
        result->inset->init(inset);
@@ -68,7 +67,7 @@ Inset * InsetList::Clone() const
 }
 
 
-char const * InsetList::EditMessage() const
+string const InsetList::EditMessage() const
 {
        return _("Opened List Inset");
 }
@@ -94,13 +93,3 @@ bool InsetList::InsertInsetAllowed(Inset * in) const
        }
        return true;
 }
-
-
-#if 0
-LyXFont InsetList::GetDrawFont(BufferView * bv,LyXParagraph * p, int pos) const
-{
-       LyXFont fn = getLyXText(bv)->GetFont(bv->buffer(), p, pos);
-       fn.decSize().decSize();
-       return fn;
-}
-#endif