using std::istringstream;
using std::getline;
using std::istream_iterator;
+using std::auto_ptr;
MathTabularInset::MathTabularInset(string const & name, int m, int n)
{}
-MathInset * MathTabularInset::clone() const
+auto_ptr<InsetBase> MathTabularInset::clone() const
{
- return new MathTabularInset(*this);
+ return auto_ptr<InsetBase>(new MathTabularInset(*this));
}
-void MathTabularInset::metrics(MetricsInfo & mi, Dimension & dim) const
+void MathTabularInset::metrics(MetricsInfo & mi, Dimension & /*dim*/) const
{
FontSetChanger dummy(mi.base, "textnormal");
return MathGridInset::metrics(mi);