#include "insets/insettext.h"
#include "debug.h"
-#include "BufferView.h"
#include "gettext.h"
#include "lyxfont.h"
#include "lyxtext.h"
#include "support/std_ostream.h"
+
+namespace lyx {
+
using std::endl;
using std::ostream;
}
-auto_ptr<InsetBase> InsetTheorem::clone() const
+auto_ptr<InsetBase> InsetTheorem::doClone() const
{
#ifdef WITH_WARNINGS
#warning Is this inset used? If YES this is WRONG!!! (Jug)
}
-int InsetTheorem::latex(Buffer const * buf, ostream & os,
- LatexRunParams const & runparams) const
+int InsetTheorem::latex(Buffer const * buf, odocstream & os,
+ OutputParams const & runparams) const
{
os << "\\begin{theorem}%\n";
return i + 2;
}
+
+
+} // namespace lyx