X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_envinset.C;h=d0a282f1e794e75b45114fc7e6d79dbacaf80183;hb=1ecc7b79cdf95de50f2683fb7a8f983b5dcdf0d2;hp=2f10a1c5df4abca9168758a8afe124f386b5f4cb;hpb=44cd0fc9a1687cc63911c7f98d978594458e7813;p=lyx.git diff --git a/src/mathed/math_envinset.C b/src/mathed/math_envinset.C index 2f10a1c5df..d0a282f1e7 100644 --- a/src/mathed/math_envinset.C +++ b/src/mathed/math_envinset.C @@ -34,9 +34,9 @@ auto_ptr MathEnvInset::clone() const void MathEnvInset::metrics(MetricsInfo & mi, Dimension & dim) const { - cell(0).metrics(mi, dim_); - metricsMarkers(); - dim = dim_; + cell(0).metrics(mi, dim); + metricsMarkers(dim); + dim_ = dim; }