X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_envinset.C;h=d0a282f1e794e75b45114fc7e6d79dbacaf80183;hb=1ecc7b79cdf95de50f2683fb7a8f983b5dcdf0d2;hp=e92fd99e37f30348716849c7ed11fcdde2be4aa4;hpb=0705dae8a3a2bcdd6be55eb468547c1389e84d2c;p=lyx.git diff --git a/src/mathed/math_envinset.C b/src/mathed/math_envinset.C index e92fd99e37..d0a282f1e7 100644 --- a/src/mathed/math_envinset.C +++ b/src/mathed/math_envinset.C @@ -16,6 +16,8 @@ #include "math_streamstr.h" #include "support/std_ostream.h" + +using std::string; using std::auto_ptr; @@ -32,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; }