-
#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(MetricsInfo &) const
+void MathInferInset::metrics(MetricsInfo &, Dimension &) const
{
}