sw/source/filter/html/htmltab.cxx | 34 ---------------------------------- 1 file changed, 34 deletions(-)
New commits: commit eb98ae7c9b8973b87a58a4a4820cde12c42ada82 Author: Michael Stahl <mst...@redhat.com> Date: Fri Jan 19 13:35:52 2018 +0100 sw: loplugin:unreffun HTMLTable::FixFillerFrameFormat is unused now. Change-Id: Ic09d9585368ead7317325068eabb0171b76b6a9b 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 { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits