]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettheorem.C
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / insettheorem.C
index b0810ea92aebfb1a94c5480d6773301bb432bd5b..a121bb19a0b08fc4594ce241c97f6834d5f9662d 100644 (file)
@@ -53,7 +53,7 @@ void InsetTheorem::write(Buffer const * buf, ostream & os) const
 }
 
 
-Inset * InsetTheorem::clone(Buffer const &, bool) const
+Inset * InsetTheorem::clone() const
 {
 #ifdef WITH_WARNINGS
 #warning Is this inset used? If YES this is WRONG!!! (Jug)
@@ -72,11 +72,11 @@ string const InsetTheorem::editMessage() const
 
 
 int InsetTheorem::latex(Buffer const * buf, ostream & os,
-                       LatexRunParams const & runparams, bool fp) const
+                       LatexRunParams const & runparams) const
 {
        os << "\\begin{theorem}%\n";
 
-       int i = inset.latex(buf, os, runparams, fp);
+       int i = inset.latex(buf, os, runparams);
        os << "\\end{theorem}%\n";
 
        return i + 2;