]> 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 7a4ec536bbc6d68827d2dde027cd089d9de1b019..176d34988f1253a80b6768f86be010162fcff17f 100644 (file)
@@ -16,6 +16,8 @@
 #include "math_streamstr.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;
 }