]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_bigopinset.C
small cleanup, doxygen, formatting changes
[lyx.git] / src / mathed / math_bigopinset.C
index 5e5823df73edf47ef74c362daa703855c5c91f7f..c43d421609d544775c24d4244a26c60aa4e7ba59 100644 (file)
@@ -4,6 +4,9 @@
 #include "LColor.h"
 #include "Painter.h"
 #include "mathed/support.h"
+#include "support/LOstream.h"
+
+using std::ostream;
 
 bool MathBigopInset::GetLimits() const 
 {  
@@ -54,7 +57,7 @@ MathBigopInset::draw(Painter & pain, int x, int y)
                         LColor::mathline);
                ++x;
        }
-       pain.text(x, y, s, mathed_get_font(t, size));
+       pain.text(x, y, s, mathed_get_font(t, size()));
 }
 
 
@@ -73,8 +76,8 @@ MathBigopInset::Metrics()
                s = name;
                t = LM_TC_TEXTRM;
        }
-       mathed_string_height(t, size, s, ascent, descent);
-       width = mathed_string_width(t, size, s);
+       mathed_string_height(t, size(), s, ascent, descent);
+       width = mathed_string_width(t, size(), s);
        if (sym == LM_oint) width += 2;
 }