diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-23 14:32:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-24 08:05:02 +0200 |
commit | 8770cd3894ce27ea7ceea3047af9899be57aae83 (patch) | |
tree | 7db4323241b0fd116c083bd13bea5ff926502b3f /sw/source/core/doc/tblrwcl.cxx | |
parent | c65b2347648fc2c0752b981896cc6c2c7b7020f9 (diff) |
loplugin:unusedfields in sw/
Change-Id: I323a038e5581b00cd3a4ea2f362c66540377759e
Diffstat (limited to 'sw/source/core/doc/tblrwcl.cxx')
-rw-r--r-- | sw/source/core/doc/tblrwcl.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx index c46d561be5d0..e1c0cccf6238 100644 --- a/sw/source/core/doc/tblrwcl.cxx +++ b/sw/source/core/doc/tblrwcl.cxx @@ -1373,14 +1373,12 @@ struct _InsULPara bool bUL : 1; // Upper-Left(true) or Lower-Right(false) ? SwTableBox* pLeftBox; - SwTableBox* pRightBox; - SwTableBox* pMergeBox; _InsULPara( SwTableNode* pTNd, bool bUpperLower, bool bUpper, - SwTableBox* pLeft, SwTableBox* pMerge, SwTableBox* pRight, + SwTableBox* pLeft, SwTableLine* pLine=nullptr, SwTableBox* pBox=nullptr ) : pTableNd( pTNd ), pInsLine( pLine ), pInsBox( pBox ), - pLeftBox( pLeft ), pRightBox( pRight ), pMergeBox( pMerge ) + pLeftBox( pLeft ) { bUL_LR = bUpperLower; bUL = bUpper; } void SetLeft( SwTableBox* pBox=nullptr ) @@ -1617,7 +1615,7 @@ bool SwTable::OldMerge( SwDoc* pDoc, const SwSelBoxes& rBoxes, // This contains all Lines that are above the selected Area, // thus they form a Upper/Lower Line - _InsULPara aPara( pTableNd, true, true, pLeftBox, pMergeBox, pRightBox, pInsLine ); + _InsULPara aPara( pTableNd, true, true, pLeftBox, pInsLine ); // Move the overlapping upper/lower Lines of the selected Area for (auto & it : pFndBox->GetLines().front()->GetBoxes()) |