diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-04-29 10:13:18 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-04-29 10:18:28 +0200 |
commit | 1fe1fb546889d824b7331ca0f4731fdf58aea829 (patch) | |
tree | 5c15a2ada92f1d4b8e4be909a1d58ad33210ec5b | |
parent | 3a07ed8386875342638272330d854f7c2f3b7ce3 (diff) |
tdf#89783: fix another potential endless loop
the same pattern as in 4de83e2c322509c0fb1b989f7e4898728fc4a
Change-Id: I38d48b9c1302f23a0d2537f8e5eced2ee64ddf4e
-rw-r--r-- | sw/source/core/doc/DocumentLayoutManager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/DocumentLayoutManager.cxx b/sw/source/core/doc/DocumentLayoutManager.cxx index 88fabcaf1c84..fbb264665d4a 100644 --- a/sw/source/core/doc/DocumentLayoutManager.cxx +++ b/sw/source/core/doc/DocumentLayoutManager.cxx @@ -265,7 +265,7 @@ void DocumentLayoutManager::DelLayoutFmt( SwFrmFmt *pFmt ) std::vector<SwFrmFmt*> aToDeleteFrmFmts; const sal_uLong nNodeIdxOfFlyFmt( pCntntIdx->GetIndex() ); - for ( sal_uInt16 i = 0; i < pTbl->size(); ++i ) + for ( size_t i = 0; i < pTbl->size(); ++i ) { SwFrmFmt* pTmpFmt = (*pTbl)[i]; const SwFmtAnchor &rAnch = pTmpFmt->GetAnchor(); |