]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macro.C
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / mathed / math_macro.C
index f1f6b034b666baeeb135b6ecb7c0a081b32eb118..486e29518ee04afa5b3b1455416bef73def71262 100644 (file)
@@ -14,6 +14,7 @@
  *  This code is under the GNU General Public Licence version 2 or later.
  */
 
+#include <config.h>
 
 #include "math_macro.h"
 #include "math_support.h"
@@ -30,6 +31,7 @@
 
 using std::max;
 using std::auto_ptr;
+using std::endl;
 
 
 MathMacro::MathMacro(string const & name)
@@ -151,12 +153,12 @@ void MathMacro::draw(PainterInfo & pi, int x, int y) const
 void MathMacro::dump() const
 {
        MathMacroTable::dump();
-       lyxerr << "\n macro: '" << this << "'\n";
-       lyxerr << " name: '" << name() << "'\n";
-       lyxerr << " template: '";
+       lyxerr << "\n macro: '" << this << "'\n"
+              << " name: '" << name() << "'\n"
+              << " template: '";
        WriteStream wi(lyxerr);
        tmplate_->write(wi);
-       lyxerr << "'\n";
+       lyxerr << "'" << endl;
 }