]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_substackinset.C
the DocIterator stuff
[lyx.git] / src / mathed / math_substackinset.C
index 4767f3402e6eced3d7a3b8b423664ac035868047..ce15a19a4887800ca0689bb1ef9d805fdf9ae6fe 100644 (file)
@@ -33,12 +33,12 @@ void MathSubstackInset::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        if (mi.base.style == LM_ST_DISPLAY) {
                StyleChanger dummy(mi.base, LM_ST_TEXT);
-               MathGridInset::metrics(mi);
+               MathGridInset::metrics(mi, dim);
        } else {
-               MathGridInset::metrics(mi);
+               MathGridInset::metrics(mi, dim);
        }
-       metricsMarkers();
-       dim = dim_;
+       metricsMarkers(dim);
+       dim_ = dim;
 }