-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include "math_inferinset.h"
#include "math_support.h"
#include "frontends/Painter.h"
#include "math_mathmlstream.h"
#include "textpainter.h"
+using std::auto_ptr;
+
MathInferInset::MathInferInset()
: MathGridInset(1, 1)
{}
-MathInset * MathInferInset::clone() const
+auto_ptr<InsetBase> MathInferInset::clone() const
{
- return new MathInferInset(*this);
+ return auto_ptr<InsetBase>(new MathInferInset(*this));
}
-void MathInferInset::metrics(MathMetricsInfo &) const
+void MathInferInset::metrics(MetricsInfo &, Dimension &) const
{
}
-void MathInferInset::draw(MathPainterInfo &, int, int) const
+void MathInferInset::draw(PainterInfo &, int, int) const
{
}