#include "math_streamstr.h"
#include "math_support.h"
+
+using std::string;
using std::auto_ptr;
{}
-auto_ptr<InsetBase> MathStringInset::clone() const
+auto_ptr<InsetBase> MathStringInset::doClone() const
{
return auto_ptr<InsetBase>(new MathStringInset(*this));
}
void MathStringInset::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_);
}