]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiff.cpp
simplify GuiToc / TocWidget interaction. Much can still be simplified...
[lyx.git] / src / mathed / InsetMathDiff.cpp
index 34ee4d17a7a6204f16911d0ca0d3d96152ab2bde..a3688225b59ed1a44ed009b9817630ae16258b88 100644 (file)
 #include "InsetMathDiff.h"
 #include "MathData.h"
 #include "MathStream.h"
-#include "debug.h"
+#include "support/debug.h"
 
 
 namespace lyx {
 
-using std::endl;
-
-
 InsetMathDiff::InsetMathDiff()
        : InsetMathNest(1)
 {}
@@ -49,13 +46,13 @@ void InsetMathDiff::normalize(NormalStream & os) const
 
 void InsetMathDiff::metrics(MetricsInfo &, Dimension &) const
 {
-       lyxerr << "should not happen" << endl;
+       LYXERR0("should not happen");
 }
 
 
 void InsetMathDiff::draw(PainterInfo &, int, int) const
 {
-       lyxerr << "should not happen" << endl;
+       LYXERR0("should not happen");
 }
 
 
@@ -111,7 +108,7 @@ void InsetMathDiff::mathmlize(MathStream & os) const
 
 void InsetMathDiff::write(WriteStream &) const
 {
-       lyxerr << "should not happen" << endl;
+       LYXERR0("should not happen");
 }