]> git.lyx.org Git - lyx.git/blobdiff - src/Row.cpp
* src/inset/InsetNomencl.cpp:
[lyx.git] / src / Row.cpp
index 5b3a8fc76262f01be4a1dcafb05bb79723c088e8..975940310c41b346b90342597a8c907b81190e34 100644 (file)
 #include <config.h>
 
 #include "Row.h"
-#include "debug.h"
+
+#include "support/debug.h"
 
 
 namespace lyx {
 
 
 Row::Row()
-       : separator(0), hfill(0), label_hfill(0), x(0),
+       : separator(0), label_hfill(0), x(0),
        sel_beg(-1), sel_end(-1), changed_(false), crc_(0), pos_(0), end_(0)
 {}
 
 
 Row::Row(pos_type pos)
-       : separator(0), hfill(0), label_hfill(0), x(0),
+       : separator(0), label_hfill(0), x(0),
        sel_beg(-1), sel_end(-1), changed_(false), crc_(0), pos_(pos), end_(0)
 {}
 
@@ -60,7 +61,7 @@ void Row::endpos(pos_type p)
 }
 
 
-void Row::setSelection(pos_type beg, pos_type end)
+void Row::setSelection(pos_type beg, pos_type end) const
 {
        if (pos_ >= beg && pos_ <= end)
                sel_beg = pos_;
@@ -80,11 +81,10 @@ void Row::setSelection(pos_type beg, pos_type end)
 
 void Row::dump(char const * s) const
 {
-       lyxerr << s << " pos: " << pos_ << " end: " << end_
+       LYXERR0(s << " pos: " << pos_ << " end: " << end_
                << " width: " << dim_.wid
                << " ascent: " << dim_.asc
-               << " descent: " << dim_.des
-               << std::endl;
+               << " descent: " << dim_.des);
 }