svx/source/table/tablecontroller.cxx | 9 --------- 1 file changed, 9 deletions(-)
New commits: commit 5df5e1bbc68f54dd7bc4b46f0a05a7150d84470a Author: Caolán McNamara <caol...@redhat.com> Date: Sun May 28 21:17:32 2017 +0100 aAttr is now (more obviously) unused Change-Id: Icf646cbb10921cc8673e22c7028e896c1c4aa036 diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx index e244ecfc04a7..a9850d598b03 100644 --- a/svx/source/table/tablecontroller.cxx +++ b/svx/source/table/tablecontroller.cxx @@ -2669,17 +2669,8 @@ bool SvxTableController::ApplyFormatPaintBrush( SfxItemSet& rFormatSet, bool bNo CellPos aStart, aEnd; getSelectedCells( aStart, aEnd ); - SfxItemSet aAttr(*rFormatSet.GetPool(), rFormatSet.GetRanges()); - aAttr.Put(rFormatSet); - const bool bFrame = (rFormatSet.GetItemState( SDRATTR_TABLE_BORDER ) == SfxItemState::SET) || (rFormatSet.GetItemState( SDRATTR_TABLE_BORDER_INNER ) == SfxItemState::SET); - if( bFrame ) - { - aAttr.ClearItem( SDRATTR_TABLE_BORDER ); - aAttr.ClearItem( SDRATTR_TABLE_BORDER_INNER ); - } - for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) { for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ )
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits