]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fontoldinset.C
the DocIterator stuff
[lyx.git] / src / mathed / math_fontoldinset.C
index 66b38c73e3a2d46a354eb40a2f1bc3f4adc27eef..6b2a27174be1f5a2fe937986f92472e7d68839cd 100644 (file)
@@ -36,9 +36,9 @@ auto_ptr<InsetBase> MathFontOldInset::clone() const
 void MathFontOldInset::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        FontSetChanger dummy(mi.base, key_->name.c_str());
-       cell(0).metrics(mi, dim_);
-       metricsMarkers(1);
-       dim = dim_;
+       cell(0).metrics(mi, dim);
+       metricsMarkers(dim);
+       dim_ = dim;
 }