-#include <config.h>
+/**
+ * \file math_binaryopinset.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Alejandro Aguilar Sierra
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+#include <config.h>
#include "math_binaryopinset.h"
#include "PainterInfo.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
#include "math_support.h"
#include "math_mathmlstream.h"
{}
-MathInset * MathBinaryOpInset::clone() const
+auto_ptr<InsetBase> MathBinaryOpInset::clone() const
{
- return new MathBinaryOpInset(*this);
+ return auto_ptr<InsetBase>(new MathBinaryOpInset(*this));
}
}
+#warning Andre, have a look here. (Lgb)
+#if 0
+// That this is not declared in class MathBinaryOpInset makes
+// Doxygen give warnings. (Lgb)
void MathBinaryOpInset::metrics(MetricsInfo & mi, Dimension & dim) const
{
mi_ = mi;
ascent_ = max(cell(0).ascent(), cell(1).ascent());
descent_ = max(cell(0).descent(), cell(1).descent());
}
-
+#endif
void MathBinaryOpInset::draw(PainterInfo & pain, int x, int y) const
{