Kaydet (Commit) 5fc1efd1 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

dead init (clang)

Change-Id: I741f19caf1fdffd4c5ed40f8a91ae1b938dd04bb
üst 5d7c3b4d
......@@ -1608,7 +1608,7 @@ void SwTOXBaseSection::UpdatePageNum()
if( pFrm->IsTxtFrm() && static_cast<SwTxtFrm*>(pFrm)->HasFollow() )
{
// find the right one
SwTxtFrm* pNext = static_cast<SwTxtFrm*>(pFrm);
SwTxtFrm* pNext;
while( 0 != ( pNext = static_cast<SwTxtFrm*>(pFrm->GetFollow()) )
&& rTOXSource.nPos >= pNext->GetOfst() )
pFrm = pNext;
......
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