summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2018-01-19 13:35:52 +0100
committerMichael Stahl <mstahl@redhat.com>2018-01-19 13:36:53 +0100
commiteb98ae7c9b8973b87a58a4a4820cde12c42ada82 (patch)
tree5e1c5d9b1a019c1b477125abc85c4f87dda14650
parentd4a066c3e4b7ebcdb16ffcb88b6b2c744c127ea1 (diff)
sw: loplugin:unreffun
HTMLTable::FixFillerFrameFormat is unused now. Change-Id: Ic09d9585368ead7317325068eabb0171b76b6a9b
-rw-r--r--sw/source/filter/html/htmltab.cxx34
1 files changed, 0 insertions, 34 deletions
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index 8a52695029fc..d2fff4c1a907 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -468,7 +468,6 @@ class HTMLTable
void FixFrameFormat( SwTableBox *pBox, sal_uInt16 nRow, sal_uInt16 nCol,
sal_uInt16 nRowSpan, sal_uInt16 nColSpan,
bool bFirstPara=true, bool bLastPara=true ) const;
- void FixFillerFrameFormat( SwTableBox *pBox, bool bRight ) const;
// Create a table with the content (lines/boxes)
void MakeTable_( SwTableBox *pUpper );
@@ -1458,39 +1457,6 @@ void HTMLTable::FixFrameFormat( SwTableBox *pBox,
}
-void HTMLTable::FixFillerFrameFormat( SwTableBox *pBox, bool bRight ) const
-{
- SwFrameFormat *pFrameFormat = pBox->ClaimFrameFormat();
-
- if( m_bFillerTopBorder || m_bFillerBottomBorder ||
- (!bRight && m_bInheritedLeftBorder) || (bRight && m_bInheritedRightBorder) )
- {
- SvxBoxItem aBoxItem( RES_BOX );
- if( m_bFillerTopBorder )
- aBoxItem.SetLine( &m_aTopBorderLine, SvxBoxItemLine::TOP );
- if( m_bFillerBottomBorder )
- aBoxItem.SetLine( &m_aBottomBorderLine, SvxBoxItemLine::BOTTOM );
- if( !bRight && m_bInheritedLeftBorder )
- aBoxItem.SetLine( &m_aInheritedLeftBorderLine, SvxBoxItemLine::LEFT );
- if( bRight && m_bInheritedRightBorder )
- aBoxItem.SetLine( &m_aInheritedRightBorderLine, SvxBoxItemLine::RIGHT );
- aBoxItem.SetAllDistances(MIN_BORDER_DIST);
- pFrameFormat->SetFormatAttr( aBoxItem );
- }
- else
- {
- pFrameFormat->ResetFormatAttr( RES_BOX );
- }
-
- if( GetInhBGBrush() )
- pFrameFormat->SetFormatAttr( *GetInhBGBrush() );
- else
- pFrameFormat->ResetFormatAttr( RES_BACKGROUND );
-
- pFrameFormat->ResetFormatAttr( RES_VERT_ORIENT );
- pFrameFormat->ResetFormatAttr( RES_BOXATR_FORMAT );
-}
-
SwTableBox *HTMLTable::NewTableBox( const SwStartNode *pStNd,
SwTableLine *pUpper ) const
{