]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_undersetinset.C
to much stuff for my liking...
[features.git] / src / mathed / math_undersetinset.C
index 5e42606b42426fcb585bf81b7fe6087b209f43ec..112401e823eeb1a425646e38f882bca38413272e 100644 (file)
@@ -7,6 +7,9 @@
 #include "math_support.h"
 
 
+using std::max;
+
+
 MathUndersetInset::MathUndersetInset()
 {}
 
@@ -23,7 +26,7 @@ void MathUndersetInset::metrics(MathMetricsInfo const & mi) const
        smallerStyleFrac(m);
        xcell(0).metrics(m);
        xcell(1).metrics(mi);
-       width_   = std::max(xcell(0).width(), xcell(1).width()) + 4; 
+       width_   = max(xcell(0).width(), xcell(1).width()) + 4; 
        ascent_  = xcell(1).ascent();
        descent_ = xcell(1).descent() + xcell(0).height() + 4;
 }