namespace lyx {
-
-using std::string;
-using std::auto_ptr;
using std::endl;
// 3 - upper
-auto_ptr<InsetBase> InsetMathExInt::doClone() const
+Inset * InsetMathExInt::clone() const
{
- return auto_ptr<InsetBase>(new InsetMathExInt(*this));
+ return new InsetMathExInt(*this);
}
}
-bool InsetMathExInt::metrics(MetricsInfo &, Dimension &) const
+void InsetMathExInt::metrics(MetricsInfo &, Dimension &) const
{
lyxerr << "should not happen" << endl;
- return true;
}