diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-11-20 21:10:27 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-11-21 15:45:01 +0100 |
commit | 5fc1efd15490db736c877e25bade4ca2d33183fb (patch) | |
tree | 9a4d464672a2d1bbc61b2146a96b4ec65a741a57 | |
parent | 5d7c3b4d1926b59d2bb17497ef82c694b6f99597 (diff) |
dead init (clang)
Change-Id: I741f19caf1fdffd4c5ed40f8a91ae1b938dd04bb
-rw-r--r-- | sw/source/core/doc/doctxm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/doctxm.cxx b/sw/source/core/doc/doctxm.cxx index fd8f452a0fc4..078c49976289 100644 --- a/sw/source/core/doc/doctxm.cxx +++ b/sw/source/core/doc/doctxm.cxx @@ -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; |