-
#include <config.h>
#include "math_exintinset.h"
#include <boost/scoped_ptr.hpp>
+using std::auto_ptr;
+using std::endl;
+
MathExIntInset::MathExIntInset(string const & name)
: MathNestInset(4), symbol_(name)
// 3 - upper
-MathInset * MathExIntInset::clone() const
+auto_ptr<InsetBase> MathExIntInset::clone() const
{
- return new MathExIntInset(*this);
+ return auto_ptr<InsetBase>(new MathExIntInset(*this));
}
}
-void MathExIntInset::metrics(MathMetricsInfo &) const
+void MathExIntInset::metrics(MetricsInfo &, Dimension &) const
{
- lyxerr << "should not happen\n";
+ lyxerr << "should not happen" << endl;
}
-void MathExIntInset::draw(MathPainterInfo &, int, int) const
+void MathExIntInset::draw(PainterInfo &, int, int) const
{
- lyxerr << "should not happen\n";
+ lyxerr << "should not happen" << endl;
}
void MathExIntInset::write(WriteStream &) const
{
- lyxerr << "should not happen\n";
+ lyxerr << "should not happen" << endl;
}