Kaydet (Commit) 4de83e2c authored tarafından Christoph Lutz's avatar Christoph Lutz Kaydeden (comit) Katarina Behrens

tdf#89783: MM fixes potential endless loops with dbgutil build

Change-Id: I0eeb0decab588d89881a24983eb89727c3d9151b
Reviewed-on: https://gerrit.libreoffice.org/15561Reviewed-by: 's avatarKatarina Behrens <Katarina.Behrens@cib.de>
Tested-by: 's avatarKatarina Behrens <Katarina.Behrens@cib.de>
üst 0b568350
...@@ -1006,7 +1006,7 @@ void AppendObjs( const SwFrmFmts *pTbl, sal_uLong nIndex, ...@@ -1006,7 +1006,7 @@ void AppendObjs( const SwFrmFmts *pTbl, sal_uLong nIndex,
(void) pTbl; (void) pTbl;
#if OSL_DEBUG_LEVEL > 0 #if OSL_DEBUG_LEVEL > 0
std::list<SwFrmFmt*> checkFmts; std::list<SwFrmFmt*> checkFmts;
for ( sal_uInt16 i = 0; i < pTbl->size(); ++i ) for ( size_t i = 0; i < pTbl->size(); ++i )
{ {
SwFrmFmt *pFmt = (*pTbl)[i]; SwFrmFmt *pFmt = (*pTbl)[i];
const SwFmtAnchor &rAnch = pFmt->GetAnchor(); const SwFmtAnchor &rAnch = pFmt->GetAnchor();
......
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