X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathDiff.cpp;h=9052d8999ba1541b1632ccb7be67ecadb71ee948;hb=12d6de7e704eea8450f841cd2c7d6b3810f46461;hp=f4d544bbb6250ed313c4734f691473221d298604;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/mathed/InsetMathDiff.cpp b/src/mathed/InsetMathDiff.cpp index f4d544bbb6..9052d8999b 100644 --- a/src/mathed/InsetMathDiff.cpp +++ b/src/mathed/InsetMathDiff.cpp @@ -19,8 +19,8 @@ namespace lyx { -InsetMathDiff::InsetMathDiff() - : InsetMathNest(1) +InsetMathDiff::InsetMathDiff(Buffer * buf) + : InsetMathNest(buf, 1) {} @@ -95,18 +95,6 @@ void InsetMathDiff::mathematica(MathematicaStream & os) const } -void InsetMathDiff::mathmlize(MathStream & os) const -{ - os << "diff("; - for (idx_type idx = 0; idx < nargs(); ++idx) { - if (idx != 0) - os << ','; - os << cell(idx); - } - os << ')'; -} - - void InsetMathDiff::write(WriteStream &) const { LYXERR0("should not happen");