Kaydet (Commit) 01160e5b authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

dead init (clang)

Change-Id: Ic36b07e5632cc2d1e0e525543bb8da30f9785ddb
üst 5fc1efd1
...@@ -838,7 +838,6 @@ bool SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes, ...@@ -838,7 +838,6 @@ bool SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes,
if( 1 != rCpyTbl.GetTabSortBoxes().size() ) if( 1 != rCpyTbl.GetTabSortBoxes().size() )
{ {
SwTableLine* pSttLine = pSttBox->GetUpper(); SwTableLine* pSttLine = pSttBox->GetUpper();
sal_uInt16 nSttLine = GetTabLines().GetPos( pSttLine );
_FndBox* pFndBox; _FndBox* pFndBox;
sal_uInt16 nFndCnt = aFndBox.GetLines().size(); sal_uInt16 nFndCnt = aFndBox.GetLines().size();
...@@ -849,7 +848,7 @@ bool SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes, ...@@ -849,7 +848,7 @@ bool SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes,
sal_uInt16 nTstLns = 0; sal_uInt16 nTstLns = 0;
pFLine = &aFndBox.GetLines().front(); pFLine = &aFndBox.GetLines().front();
pSttLine = pFLine->GetLine(); pSttLine = pFLine->GetLine();
nSttLine = GetTabLines().GetPos( pSttLine ); sal_uInt16 nSttLine = GetTabLines().GetPos( pSttLine );
// Do we have as many rows, actually? // Do we have as many rows, actually?
if( 1 == nFndCnt ) if( 1 == nFndCnt )
{ {
......
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