]> git.lyx.org Git - lyx.git/blobdiff - src/Row.cpp
Russian layouttranslations reviewed by Yuriy, Dec 13 2017.
[lyx.git] / src / Row.cpp
index 3fb87bd7e1f3b80504742a85654fa361aca2c4b0..e105ae2333576d80dc84e59ea1e17b8a0e831bb6 100644 (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) {