]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiff.cpp
nullptr
[lyx.git] / src / mathed / InsetMathDiff.cpp
index 1db14450aa3e99382d44ff7a964fcbec1b60b0e4..ffc3bedb4ea5ef5e740731fb904bd0af024f93d0 100644 (file)
@@ -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.
  */
 #include "InsetMathDiff.h"
 #include "MathData.h"
 #include "MathStream.h"
-#include "debug.h"
+
+#include "support/debug.h"
 
 
 namespace lyx {
 
-InsetMathDiff::InsetMathDiff()
-       : InsetMathNest(1)
+InsetMathDiff::InsetMathDiff(Buffer * buf)
+       : InsetMathNest(buf, 1)
 {}
 
 
@@ -94,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");
 }