mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
more constness, thanks Abdel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35463 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4580296b8f
commit
f94e6274a9
@ -86,9 +86,9 @@ public:
|
||||
: range_(range), result_(result)
|
||||
{}
|
||||
///
|
||||
FontSpan range() const { return range_; }
|
||||
FontSpan const & range() const { return range_; }
|
||||
///
|
||||
void range(FontSpan r) { range_ = r; }
|
||||
void range(FontSpan const & r) { range_ = r; }
|
||||
///
|
||||
SpellChecker::Result result() const { return result_; }
|
||||
///
|
||||
@ -96,7 +96,7 @@ public:
|
||||
///
|
||||
bool inside(pos_type pos) const { return range_.inside(pos); }
|
||||
///
|
||||
bool covered(FontSpan r) const
|
||||
bool covered(FontSpan const & r) const
|
||||
{
|
||||
// 1. first of new range inside current range or
|
||||
// 2. last of new range inside current range or
|
||||
|
Loading…
Reference in New Issue
Block a user