]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_stackrelinset.C
forward search in math insets. ugly. seems to work. don't ask why.
[lyx.git] / src / mathed / math_stackrelinset.C
index 72f7b981b7cec943b6069f9a6ae2692606107e4f..75ccb8710aec5892bf07e114eb7235e2940f4663 100644 (file)
@@ -37,17 +37,13 @@ void MathStackrelInset::draw(Painter & pain, int x, int y) const
 }
 
 
-void MathStackrelInset::write(MathWriteInfo & os) const
+void MathStackrelInset::write(WriteStream & os) const
 {
        os << "\\stackrel{" << cell(0) << "}{" << cell(1) << '}';
 }
 
 
-void MathStackrelInset::writeNormal(NormalStream & os) const
+void MathStackrelInset::normalize(NormalStream & os) const
 {
-       os << "[stackrel ";
-       cell(0).writeNormal(os);
-       os << " ";
-       cell(1).writeNormal(os);
-       os << "] ";
+       os << "[stackrel " << cell(0) << ' ' << cell(1) << ']';
 }