]> 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 d591f8019e2d89c6aab2be6661650fce8d130736..a121bb19a0b08fc4594ce241c97f6834d5f9662d 100644 (file)
@@ -10,9 +10,6 @@
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "insettheorem.h"
 #include "gettext.h"
@@ -56,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)
@@ -74,12 +71,12 @@ string const InsetTheorem::editMessage() const
 }
 
 
-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;