X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathDiff.cpp;h=9052d8999ba1541b1632ccb7be67ecadb71ee948;hb=cdc847fd304019a19425a0d5d9d42a556a937097;hp=29614bd1e62ee8d05a10aa1667163cb980c08647;hpb=2bf1c09376de37a3d66b79ca5f4304f29d5b4d06;p=lyx.git diff --git a/src/mathed/InsetMathDiff.cpp b/src/mathed/InsetMathDiff.cpp index 29614bd1e6..9052d8999b 100644 --- a/src/mathed/InsetMathDiff.cpp +++ b/src/mathed/InsetMathDiff.cpp @@ -3,7 +3,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ @@ -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");