]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBinom.C
Fix comment according to Enricos explanation
[lyx.git] / src / mathed / InsetMathBinom.C
index e09de0e319790cd8813711ede01ed9482d3a3889..8597514000026ca0b9d5b7554679f45b71e7edf7 100644 (file)
 #include "InsetMathBinom.h"
 #include "MathData.h"
 #include "MathSupport.h"
-#include "MathMLStream.h"
+#include "MathStream.h"
+
+
+namespace lyx {
 
 
 using std::max;
@@ -61,9 +64,9 @@ void InsetMathBinom::draw(PainterInfo & pi, int x, int y) const
        ScriptChanger dummy(pi.base);
        cell(0).draw(pi, m - cell(0).width() / 2, y - cell(0).descent() - 3 - 5);
        cell(1).draw(pi, m - cell(1).width() / 2, y + cell(1).ascent()  + 3 - 5);
-       mathed_draw_deco(pi, x, y - dim_.ascent(), dw(), dim_.height(), "(");
+       mathed_draw_deco(pi, x, y - dim_.ascent(), dw(), dim_.height(), from_ascii("("));
        mathed_draw_deco(pi, x + dim_.width() - dw(), y - dim_.ascent(),
-               dw(), dim_.height(), ")");
+               dw(), dim_.height(), from_ascii(")"));
        drawMarkers2(pi, x, y);
 }
 
@@ -87,3 +90,6 @@ void InsetMathBinom::normalize(NormalStream & os) const
 {
        os << "[binom " << cell(0) << ' ' << cell(1) << ']';
 }
+
+
+} // namespace lyx