Kaydet (Commit) d9a888fc authored tarafından David Tardon's avatar David Tardon

fix comment to agree with code

Change-Id: I82cc02e6bc63f04655ba87039d008f2c25025a30
üst f6eb9bd5
...@@ -2750,12 +2750,11 @@ void SvxTableController::FillCommonBorderAttrFromSelectedCells( SvxBoxItem& rBox ...@@ -2750,12 +2750,11 @@ void SvxTableController::FillCommonBorderAttrFromSelectedCells( SvxBoxItem& rBox
/* Here we go through all the selected cells (enhanced by /* Here we go through all the selected cells (enhanced by
* the adjoining row/column on each side) and determine the * the adjoining row/column on each side) and determine the
* lines for presentation. The algorithm is simple: * lines for presentation. The algorithm is simple:
* 1. if a border or inner line is set in all cells to the * 1. if a border or inner line is set (or unset) in all
* same value, it will be used. * cells to the same value, it will be used.
* 2. if a border or inner line is set only in some cells, * 2. if a border or inner line is set only in some cells,
* or it has different values, it will be set to * it will be set to indeterminate state (SetValid() on
* indeterminate state (SetValid() on rBoxInfoItem). * rBoxInfoItem).
* 3. otherwise it will be unset.
*/ */
for( sal_Int32 nRow = std::max( aStart.mnRow - 1, (sal_Int32)0 ); nRow < nLastRow; nRow++ ) for( sal_Int32 nRow = std::max( aStart.mnRow - 1, (sal_Int32)0 ); nRow < nLastRow; nRow++ )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment