-
#include <config.h>
#include "math_exfuncinset.h"
#include "math_mathmlstream.h"
#include "math_streamstr.h"
+using std::auto_ptr;
+
MathExFuncInset::MathExFuncInset(string const & name)
: MathNestInset(1), name_(name)
}
-MathInset * MathExFuncInset::clone() const
+auto_ptr<InsetBase> MathExFuncInset::clone() const
{
- return new MathExFuncInset(*this);
+ return auto_ptr<InsetBase>(new MathExFuncInset(*this));
}
-void MathExFuncInset::metrics(MetricsInfo & mi, Dimension & dim) const
+void MathExFuncInset::metrics(MetricsInfo & mi, Dimension & /*dim*/) const
{
mathed_string_dim(mi.base.font, name_, dim_);
}