]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sizeinset.C
Change the color of the background widget to red.
[lyx.git] / src / mathed / math_sizeinset.C
index 9e9eee1af67fbf08b09d3bc84842c23804150b00..b6e3a8176914f88ee7310b0d6946ce333129d477 100644 (file)
 #include "math_streamstr.h"
 #include "support/std_ostream.h"
 
+#ifndef CXX_GLOBAL_CSTD
 using std::atoi;
+#endif
+
 using std::auto_ptr;
 
 
@@ -35,9 +38,9 @@ auto_ptr<InsetBase> MathSizeInset::clone() const
 void MathSizeInset::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        StyleChanger dummy(mi.base, style_);
-       cell(0).metrics(mi, dim_);
-       metricsMarkers();
-       dim = dim_;
+       cell(0).metrics(mi, dim);
+       metricsMarkers(dim);
+       dim_ = dim;
 }