Kaydet (Commit) 5df5e1bb authored tarafından Caolán McNamara's avatar Caolán McNamara

aAttr is now (more obviously) unused

Change-Id: Icf646cbb10921cc8673e22c7028e896c1c4aa036
üst a4b01a34
...@@ -2669,17 +2669,8 @@ bool SvxTableController::ApplyFormatPaintBrush( SfxItemSet& rFormatSet, bool bNo ...@@ -2669,17 +2669,8 @@ bool SvxTableController::ApplyFormatPaintBrush( SfxItemSet& rFormatSet, bool bNo
CellPos aStart, aEnd; CellPos aStart, aEnd;
getSelectedCells( 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); 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 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ )
{ {
for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ )
......
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