X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathDiff.cpp;h=ffc3bedb4ea5ef5e740731fb904bd0af024f93d0;hb=d9082639080b9de993742bd352f92e5183058cf5;hp=f4d544bbb6250ed313c4734f691473221d298604;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/mathed/InsetMathDiff.cpp b/src/mathed/InsetMathDiff.cpp index f4d544bbb6..ffc3bedb4e 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,19 +95,7 @@ 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 +void InsetMathDiff::write(TeXMathStream &) const { LYXERR0("should not happen"); }