]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_parboxinset.C
Compile fix gcc 2.95 + stlport
[lyx.git] / src / mathed / math_parboxinset.C
index 86766ba5c899907dc2e18dc0cdb0a94ef7ef9ab6..176d34988f1253a80b6768f86be010162fcff17f 100644 (file)
 #include <config.h>
 
 #include "math_parboxinset.h"
+#include "math_data.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
-#include "lyxlength.h"
 #include "debug.h"
 
+
+using std::string;
 using std::auto_ptr;
 using std::endl;
 
@@ -51,9 +53,9 @@ void MathParboxInset::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        FontSetChanger dummy1(mi.base, "textnormal");
        WidthChanger dummy2(mi.base, lyx_width_);
-       MathTextInset::metrics(mi, dim_);
-       metricsMarkers();
-       dim = dim_;
+       MathTextInset::metrics(mi, dim);
+       metricsMarkers(dim);
+       dim_ = dim;
 }