]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_envinset.C
Remove mixed_content from output parameters.
[lyx.git] / src / mathed / math_envinset.C
index e92fd99e37f30348716849c7ed11fcdde2be4aa4..d0a282f1e794e75b45114fc7e6d79dbacaf80183 100644 (file)
@@ -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<InsetBase> 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;
 }