#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
#include "insettheorem.h"
#include "gettext.h"
}
-Inset * InsetTheorem::clone(Buffer const &, bool) const
+InsetBase * InsetTheorem::clone() const
{
#ifdef WITH_WARNINGS
#warning Is this inset used? If YES this is WRONG!!! (Jug)
}
-int InsetTheorem::latex(Buffer const * buf,
- ostream & os, bool fragile, bool fp) const
+int InsetTheorem::latex(Buffer const * buf, ostream & os,
+ LatexRunParams const & runparams) const
{
os << "\\begin{theorem}%\n";
- int i = inset.latex(buf, os, fragile, fp);
+ int i = inset.latex(buf, os, runparams);
os << "\\end{theorem}%\n";
return i + 2;