diff options
Diffstat (limited to 'svx/source/table/tablecontroller.cxx')
-rw-r--r-- | svx/source/table/tablecontroller.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx index 8d83e471e15f..0b4378b7091c 100644 --- a/svx/source/table/tablecontroller.cxx +++ b/svx/source/table/tablecontroller.cxx @@ -2309,7 +2309,7 @@ void ImplApplyBoxItem( CellPosFlag nCellPosFlags, const SvxBoxItem* pBoxItem, co { // current cell is outside the selection - if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if its not any corner + if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if it's not any corner { if (nCellPosFlags & CellPosFlag::Upper) { @@ -2322,7 +2322,7 @@ void ImplApplyBoxItem( CellPosFlag nCellPosFlags, const SvxBoxItem* pBoxItem, co rNewFrame.SetLine( nullptr, SvxBoxItemLine::TOP ); } } - else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if its not any corner + else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if it's not any corner { if (nCellPosFlags & CellPosFlag::Before) { @@ -2395,7 +2395,7 @@ static void ImplApplyBorderLineItem( CellPosFlag nCellPosFlags, const SvxBorderL { if (nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After|CellPosFlag::Upper|CellPosFlag::Lower)) { - if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if its not any corner + if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if it's not any corner { if (nCellPosFlags & CellPosFlag::Upper) { @@ -2408,7 +2408,7 @@ static void ImplApplyBorderLineItem( CellPosFlag nCellPosFlags, const SvxBorderL ImplSetLinePreserveColor( rNewFrame, pBorderLineItem, SvxBoxItemLine::TOP ); } } - else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if its not any corner + else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if it's not any corner { if (nCellPosFlags & CellPosFlag::Before) { @@ -2941,14 +2941,14 @@ void lcl_MergeCommonBorderAttr(LinesState& rLinesState, const SvxBoxItem& rCellB { // current cell is outside the selection - if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if its not any corner + if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if it's not any corner { if (nCellPosFlags & CellPosFlag::Upper) lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetBottom(), SvxBoxItemLine::TOP, SvxBoxInfoItemValidFlags::TOP); else if (nCellPosFlags & CellPosFlag::Lower) lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetTop(), SvxBoxItemLine::BOTTOM, SvxBoxInfoItemValidFlags::BOTTOM); } - else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if its not any corner + else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if it's not any corner { if (nCellPosFlags & CellPosFlag::Before) lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetRight(), SvxBoxItemLine::LEFT, SvxBoxInfoItemValidFlags::LEFT); |