]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_decorationinset.C
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / mathed / math_decorationinset.C
index ba9ab175c2a326094d4f66b384ef5eccf38d520d..d824ba585de89981c42a8aadcd4a1315c1a8461a 100644 (file)
@@ -27,10 +27,12 @@ using std::auto_ptr;
 
 MathDecorationInset::MathDecorationInset(latexkeys const * key)
        : MathNestInset(1), key_(key)
-{}
+{
+//     lyxerr << " creating deco " << key->name << std::endl;
+}
 
 
-auto_ptr<InsetBase> MathDecorationInset::clone() const
+auto_ptr<InsetBase> MathDecorationInset::doClone() const
 {
        return auto_ptr<InsetBase>(new MathDecorationInset(*this));
 }
@@ -110,7 +112,6 @@ void MathDecorationInset::metrics(MetricsInfo & mi, Dimension & dim) const
 
 void MathDecorationInset::draw(PainterInfo & pi, int x, int y) const
 {
-       lyxerr << "MathDecorationInset::draw: x: " << x << std::endl;
        cell(0).draw(pi, x + 1, y);
        if (wide())
                mathed_draw_deco(pi, x + 1, y + dy_, cell(0).width(), dh_, key_->name);