]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExInt.cpp
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathExInt.cpp
index c0ac71e6f1f402f3fd22b6c376e1f250a5ec3dbe..b7d81791d2542ee09b4ad76f0fec02979a584575 100644 (file)
 #include "MathStream.h"
 #include "MathStream.h"
 #include "InsetMathSymbol.h"
-#include "debug.h"
 
+#include "support/debug.h"
 #include "support/docstring.h"
 
-namespace lyx {
-
-using std::endl;
 
+namespace lyx {
 
 InsetMathExInt::InsetMathExInt(docstring const & name)
        : InsetMathNest(4), symbol_(name)
@@ -63,13 +61,13 @@ void InsetMathExInt::normalize(NormalStream & os) const
 
 void InsetMathExInt::metrics(MetricsInfo &, Dimension &) const
 {
-       lyxerr << "should not happen" << endl;
+       LYXERR0("should not happen");
 }
 
 
 void InsetMathExInt::draw(PainterInfo &, int, int) const
 {
-       lyxerr << "should not happen" << endl;
+       LYXERR0("should not happen");
 }
 
 
@@ -139,7 +137,7 @@ void InsetMathExInt::mathmlize(MathStream & os) const
 
 void InsetMathExInt::write(WriteStream &) const
 {
-       lyxerr << "should not happen" << endl;
+       LYXERR0("should not happen");
 }