]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettheorem.C
some reindentation, revert workarea xpos++, constify, remove all traces of LyXParagra...
[lyx.git] / src / insets / insettheorem.C
index 4394b3ac234fcac7cbef3e4cfd827180feda6cf3..637e4933c7ba011ef69175275d33bf3bf7f39330 100644 (file)
@@ -54,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;
        
@@ -63,7 +63,7 @@ Inset * InsetTheorem::Clone() const
 }
 
 
-char const * InsetTheorem::EditMessage() const
+string const InsetTheorem::EditMessage() const
 {
        return _("Opened Theorem Inset");
 }
@@ -74,7 +74,7 @@ int InsetTheorem::Latex(Buffer const * buf,
 {
        os << "\\begin{theorem}%\n";
        
-       int i = inset->Latex(buf, os, fragile, fp);
+       int i = inset.Latex(buf, os, fragile, fp);
        os << "\\end{theorem}%\n";
        
        return i + 2;