summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-05-28 21:17:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-05-28 21:17:32 +0100
commit5df5e1bbc68f54dd7bc4b46f0a05a7150d84470a (patch)
treefe29af70061435db84623e8e0e170a958636179e /svx
parenta4b01a34f7e9ba4584eacab364b66709c55ecc44 (diff)
aAttr is now (more obviously) unused
Change-Id: Icf646cbb10921cc8673e22c7028e896c1c4aa036
Diffstat (limited to 'svx')
-rw-r--r--svx/source/table/tablecontroller.cxx9
1 files changed, 0 insertions, 9 deletions
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++ )