]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathLim.cpp
Fix bug #12772
[lyx.git] / src / mathed / InsetMathLim.cpp
index 89d580954e75b02ae66c925035b74d0fe22c1e89..98d307410fbc4919d55f38772ecd6792d7ac33c3 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 "InsetMathLim.h"
 #include "MathData.h"
 #include "MathStream.h"
-#include "debug.h"
+
+#include "support/debug.h"
 
 
 namespace lyx {
 
-InsetMathLim::InsetMathLim
-       (MathData const & f, MathData const & x, MathData const & x0)
-       : InsetMathNest(3)
+InsetMathLim::InsetMathLim(Buffer * buf, MathData const & f, MathData const & x,
+       MathData const & x0)
+       : InsetMathNest(buf, 3)
 {
        cell(0) = f;
        cell(1) = x;
@@ -70,13 +71,7 @@ void InsetMathLim::mathematica(MathematicaStream & os) const
 }
 
 
-void InsetMathLim::mathmlize(MathStream & os) const
-{
-       os << "lim(" << cell(0) << ',' << cell(1) << ',' << cell(2) << ')';
-}
-
-
-void InsetMathLim::write(WriteStream &) const
+void InsetMathLim::write(TeXMathStream &) const
 {
        LYXERR0("should not happen");
 }