X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FRow.cpp;h=975940310c41b346b90342597a8c907b81190e34;hb=fb12b282f1300123c7f4c7f10525c29cb598e1fe;hp=317244a792fdad5b615da9361a10bf6e0307cc21;hpb=150cf11651ad92090a452bb9e6cb72d7eea886d5;p=lyx.git diff --git a/src/Row.cpp b/src/Row.cpp index 317244a792..975940310c 100644 --- a/src/Row.cpp +++ b/src/Row.cpp @@ -17,20 +17,21 @@ #include #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_;