X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_envinset.C;h=d0a282f1e794e75b45114fc7e6d79dbacaf80183;hb=1ecc7b79cdf95de50f2683fb7a8f983b5dcdf0d2;hp=68b2b0303b3ff04f232284197f4bc80335b8f8f7;hpb=1f9e9cf5173fa1fbafdff5f21080e5194b05818b;p=lyx.git diff --git a/src/mathed/math_envinset.C b/src/mathed/math_envinset.C index 68b2b0303b..d0a282f1e7 100644 --- a/src/mathed/math_envinset.C +++ b/src/mathed/math_envinset.C @@ -11,10 +11,13 @@ #include #include "math_envinset.h" +#include "math_data.h" #include "math_mathmlstream.h" #include "math_streamstr.h" -#include "support/LOstream.h" +#include "support/std_ostream.h" + +using std::string; using std::auto_ptr; @@ -31,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; }