summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-11-20 21:11:56 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-11-21 15:45:01 +0100
commit01160e5b3aaa3320586d688760327951b31ed430 (patch)
treeb5e1948d86a35d499dc075b4840db5a0a5a04738
parent5fc1efd15490db736c877e25bade4ca2d33183fb (diff)
dead init (clang)
Change-Id: Ic36b07e5632cc2d1e0e525543bb8da30f9785ddb
-rw-r--r--sw/source/core/doc/tblcpy.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/doc/tblcpy.cxx b/sw/source/core/doc/tblcpy.cxx
index d9bb700fe422..6640f903ad3d 100644
--- a/sw/source/core/doc/tblcpy.cxx
+++ b/sw/source/core/doc/tblcpy.cxx
@@ -838,7 +838,6 @@ bool SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes,
if( 1 != rCpyTbl.GetTabSortBoxes().size() )
{
SwTableLine* pSttLine = pSttBox->GetUpper();
- sal_uInt16 nSttLine = GetTabLines().GetPos( pSttLine );
_FndBox* pFndBox;
sal_uInt16 nFndCnt = aFndBox.GetLines().size();
@@ -849,7 +848,7 @@ bool SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes,
sal_uInt16 nTstLns = 0;
pFLine = &aFndBox.GetLines().front();
pSttLine = pFLine->GetLine();
- nSttLine = GetTabLines().GetPos( pSttLine );
+ sal_uInt16 nSttLine = GetTabLines().GetPos( pSttLine );
// Do we have as many rows, actually?
if( 1 == nFndCnt )
{