X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FRow.h;h=ae8ed71fd1d73382e2f9d9eead7ed01eb51c6bb2;hb=1ab314f8e6e145dc73d0a26b7e82a280b497ea3c;hp=5b67abba5e463d655edfbb3b3dcf621c5db91634;hpb=26f336769af8dd5c48c2c0241cd3fbfc50a3c65e;p=lyx.git diff --git a/src/Row.h b/src/Row.h index 5b67abba5e..ae8ed71fd1 100644 --- a/src/Row.h +++ b/src/Row.h @@ -38,7 +38,7 @@ public: /// void setChanged(bool c) { changed_ = c; } /// - void setCrc(size_type crc); + void setCrc(size_type crc) const; /// void setSelection(pos_type sel_beg, pos_type sel_end); @@ -68,8 +68,6 @@ public: /// width of a separator (i.e. space) double separator; - /// width of hfills in the body - double hfill; /// width of hfills in the label double label_hfill; /// the x position of the row @@ -80,9 +78,9 @@ public: pos_type sel_end; private: /// has the Row appearance changed since last drawing? - bool changed_; + mutable bool changed_; /// CRC of row contents. - size_type crc_; + mutable size_type crc_; /// first pos covered by this row pos_type pos_; /// one behind last pos covered by this row