]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettheorem.C
reformatting and remove using delc
[lyx.git] / src / insets / insettheorem.C
index 11ef790d8b1a09a101e261cccfebd41c6c46185f..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;
        
@@ -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;