]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathLim.cpp
simplify GuiToc / TocWidget interaction. Much can still be simplified...
[lyx.git] / src / mathed / InsetMathLim.cpp
index 47754bf2d4e5d13dd71f9babe970773cb29193a8..3bc981056618dda9f57ec865a9d951707fe9a91a 100644 (file)
 #include "InsetMathLim.h"
 #include "MathData.h"
 #include "MathStream.h"
-#include "debug.h"
+#include "support/debug.h"
 
 
 namespace lyx {
 
-using std::endl;
-
-
 InsetMathLim::InsetMathLim
        (MathData const & f, MathData const & x, MathData const & x0)
        : InsetMathNest(3)
@@ -45,13 +42,13 @@ void InsetMathLim::normalize(NormalStream & os) const
 
 void InsetMathLim::metrics(MetricsInfo &, Dimension &) const
 {
-       lyxerr << "should not happen" << endl;
+       LYXERR0("should not happen");
 }
 
 
 void InsetMathLim::draw(PainterInfo &, int, int) const
 {
-       lyxerr << "should not happen" << endl;
+       LYXERR0("should not happen");
 }
 
 
@@ -81,7 +78,7 @@ void InsetMathLim::mathmlize(MathStream & os) const
 
 void InsetMathLim::write(WriteStream &) const
 {
-       lyxerr << "should not happen" << endl;
+       LYXERR0("should not happen");
 }