]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_boldsymbolinset.C
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_boldsymbolinset.C
index d60189ae2b4114ba1890f6d287485f7ba40bdecd..fc847197e4032c57f95bfce58329ebe28ee7a21f 100644 (file)
@@ -24,7 +24,7 @@ MathBoldsymbolInset::MathBoldsymbolInset()
 {}
 
 
-auto_ptr<InsetBase> MathBoldsymbolInset::clone() const
+auto_ptr<InsetBase> MathBoldsymbolInset::doClone() const
 {
        return auto_ptr<InsetBase>(new MathBoldsymbolInset(*this));
 }
@@ -34,7 +34,7 @@ void MathBoldsymbolInset::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        //FontSetChanger dummy(mi.base, "mathbf");
        cell(0).metrics(mi, dim);
-       metricsMarkers(1);
+       metricsMarkers(dim);
        ++dim.wid;  // for 'double stroke'
        dim_ = dim;
 }