]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMatrix.cpp
typo
[lyx.git] / src / mathed / InsetMathMatrix.cpp
index a4999039e8fb6a44798570a3e896afaff11e5f08..72d58d3d05c376726de046fb42f651b1c40aa654 100644 (file)
@@ -32,7 +32,7 @@ Inset * InsetMathMatrix::clone() const
 }
 
 
-void InsetMathMatrix::write(WriteStream & os) const
+void InsetMathMatrix::write(TeXMathStream & os) const
 {
        InsetMathGrid::write(os);
 }
@@ -92,10 +92,10 @@ void InsetMathMatrix::mathematica(MathematicaStream & os) const
 }
 
 
-void InsetMathMatrix::mathmlize(MathStream & ms) const
+void InsetMathMatrix::mathmlize(MathMLStream & ms) const
 {
        ms << "<" << from_ascii(ms.namespacedTag("mo")) << " form='prefix' fence='true' stretchy='true' symmetric='true' lspace='thinmathspace'>"
-          << convertDelimToXMLEscape(left_
+          << convertDelimToXMLEscape(left_, ms.xmlMode())
           << "</" << from_ascii(ms.namespacedTag("mo")) << ">"
           << MTag("mtable");
        for (row_type row = 0; row < nrows(); ++row) {
@@ -114,7 +114,7 @@ void InsetMathMatrix::mathmlize(MathStream & ms) const
        }
        ms << ETag("mtable")
           << "<" << from_ascii(ms.namespacedTag("mo")) << " form='postfix' fence='true' stretchy='true' symmetric='true' lspace='thinmathspace'>"
-          << convertDelimToXMLEscape(right_
+          << convertDelimToXMLEscape(right_, ms.xmlMode())
           << "</" << from_ascii(ms.namespacedTag("mo")) << ">";
 }