Change parameter name

It was a same as a Row member

Fixes bug #10921.
This commit is contained in:
Jean-Marc Lasgouttes 2017-12-14 16:00:00 +01:00
parent eebea6284d
commit 0f18bb54cc
2 changed files with 4 additions and 4 deletions

View File

@ -169,11 +169,11 @@ Row::Row()
{}
bool Row::isMarginSelected(bool left_margin, DocIterator const & beg,
bool Row::isMarginSelected(bool left, DocIterator const & beg,
DocIterator const & end) const
{
pos_type const sel_pos = left_margin ? sel_beg : sel_end;
pos_type const margin_pos = left_margin ? pos_ : end_;
pos_type const sel_pos = left ? sel_beg : sel_end;
pos_type const margin_pos = left ? pos_ : end_;
// Is the chosen margin selected ?
if (sel_pos == margin_pos) {

View File

@ -321,7 +321,7 @@ private:
* \param beg
* \param end
*/
bool isMarginSelected(bool left_margin, DocIterator const & beg,
bool isMarginSelected(bool left, DocIterator const & beg,
DocIterator const & end) const;
/**