X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FRow.h;h=498fd07d7f8f8ce5c08335171605061ed6269701;hb=a506c6b73b81fac52e32b2ca31b9e92d67ae250a;hp=c840698f1c071b00bd1980197a8537270afe8f3a;hpb=eb4a2a190f2640d2a6ab7146cfcc347e70b57044;p=lyx.git diff --git a/src/Row.h b/src/Row.h index c840698f1c..498fd07d7f 100644 --- a/src/Row.h +++ b/src/Row.h @@ -80,13 +80,12 @@ public: /** Return position in pixels (from the left) of position * \param i in the row element. */ - double pos2x(pos_type i) const; + double pos2x(pos_type const i) const; /** Return character position that is the closest to * pixel position \param x. The value \param x is * adjusted to the actual pixel position. - * \param select if true, return the right edge when closer. - */ - pos_type x2pos(int & x, bool select = false) const; + */ + pos_type x2pos(int &x) const; /** Break the element if possible, so that its width is less * than \param w. Returns true on success. When \param force * is true, the string is cut at any place, other wise it