]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_binominset.C
enable direct input of #1...#9; some whitespace changes
[lyx.git] / src / mathed / math_binominset.C
index 71b32bdb3c46ae6cfb83591b1fd8e451124e9377..35d1e7dbc9569e5ab52da2e26a3442534325c12b 100644 (file)
@@ -1,9 +1,11 @@
+#include <config.h>
+
 #ifdef __GNUG__
 #pragma implementation
 #endif
 
 #include "math_binominset.h"
-#include "support.h"
+#include "math_support.h"
 #include "support/LOstream.h"
 #include "math_mathmlstream.h"
 
@@ -51,17 +53,13 @@ void MathBinomInset::draw(Painter & pain, int x, int y) const
 }
 
 
-void MathBinomInset::write(MathWriteInfo & os) const
+void MathBinomInset::write(WriteStream & os) const
 {
        os << '{' << cell(0) << " \\choose " << cell(1) << '}';
 }
 
 
-void MathBinomInset::writeNormal(NormalStream & os) const
+void MathBinomInset::normalize(NormalStream & os) const
 {
-       os << "[binom ";
-       cell(0).writeNormal(os);
-       os << " ";
-       cell(1).writeNormal(os);
-       os << "] ";
+       os << "[binom " << cell(0) << ' ' << cell(1) << ']';
 }