diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-11-22 03:17:48 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-11-23 14:00:31 +0100 |
commit | 4e9691a783ce7b6c65cbb586fcdde0284c35d408 (patch) | |
tree | f8a9d0ff14e076ce0508ac0af45b024b2e735290 /sw/source/core/doc/tblcpy.cxx | |
parent | a145874600dcdee9650d7332015e9b15da00c6b5 (diff) |
kill some follow-up dead inits
Change-Id: Id8d9309c3d09224c55ff15521d4fa54b9fbb23c2
Diffstat (limited to 'sw/source/core/doc/tblcpy.cxx')
-rw-r--r-- | sw/source/core/doc/tblcpy.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/core/doc/tblcpy.cxx b/sw/source/core/doc/tblcpy.cxx index 6640f903ad3d..cd750e0a595a 100644 --- a/sw/source/core/doc/tblcpy.cxx +++ b/sw/source/core/doc/tblcpy.cxx @@ -837,7 +837,6 @@ bool SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes, // Boxes! if( 1 != rCpyTbl.GetTabSortBoxes().size() ) { - SwTableLine* pSttLine = pSttBox->GetUpper(); _FndBox* pFndBox; sal_uInt16 nFndCnt = aFndBox.GetLines().size(); @@ -847,8 +846,7 @@ bool SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes, // Check if we have enough space for all Lines and Boxes sal_uInt16 nTstLns = 0; pFLine = &aFndBox.GetLines().front(); - pSttLine = pFLine->GetLine(); - sal_uInt16 nSttLine = GetTabLines().GetPos( pSttLine ); + sal_uInt16 nSttLine = GetTabLines().GetPos( pFLine->GetLine() ); // Do we have as many rows, actually? if( 1 == nFndCnt ) { |