#include "math_streamstr.h"
#include "math_support.h"
-
using std::string;
using std::auto_ptr;
{}
-auto_ptr<InsetBase> MathNumberInset::clone() const
+auto_ptr<InsetBase> MathNumberInset::doClone() const
{
return auto_ptr<InsetBase>(new MathNumberInset(*this));
}
void MathNumberInset::draw(PainterInfo & pi, int x, int y) const
{
- //lyxerr << "drawing '" << str_ << "' code: " << code_ << endl;
- drawStr(pi, pi.base.font, x, y, str_);
+ pi.draw(x, y, str_);
}