]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiff.cpp
We only support gcc >= 4.9.
[lyx.git] / src / mathed / InsetMathDiff.cpp
index f044ab8f15db1f826f5e660e7f56d5a7230739bc..ffc3bedb4ea5ef5e740731fb904bd0af024f93d0 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "InsetMathDiff.h"
 #include "MathData.h"
-#include "MathExtern.h"
 #include "MathStream.h"
 
 #include "support/debug.h"
@@ -96,21 +95,7 @@ void InsetMathDiff::mathematica(MathematicaStream & os) const
 }
 
 
-docstring InsetMathDiff::mathmlize(MathStream & os) const
-{
-       os << "diff(";
-       docstring rv;
-       for (idx_type idx = 0; idx < nargs(); ++idx) {
-               if (idx != 0)
-                       os << ',';
-               rv += lyx::mathmlize(cell(idx), os);
-       }
-       os << ')';
-       return rv;
-}
-
-
-void InsetMathDiff::write(WriteStream &) const
+void InsetMathDiff::write(TeXMathStream &) const
 {
        LYXERR0("should not happen");
 }