summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lutz <christoph.lutz_ml@cib.de>2015-04-28 17:55:11 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2015-04-28 15:58:34 +0000
commit4de83e2c322509c0fb1b989f7e4898728fc4a408 (patch)
treec2c57088f6bd6f8f23baf913984785d4b0ef2c58
parent0b568350112d4d513694031c348f07f6e1b6058d (diff)
tdf#89783: MM fixes potential endless loops with dbgutil build
Change-Id: I0eeb0decab588d89881a24983eb89727c3d9151b Reviewed-on: https://gerrit.libreoffice.org/15561 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r--sw/source/core/layout/frmtool.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx
index f61907a2c8e1..9cb3dae26eb3 100644
--- a/sw/source/core/layout/frmtool.cxx
+++ b/sw/source/core/layout/frmtool.cxx
@@ -1006,7 +1006,7 @@ void AppendObjs( const SwFrmFmts *pTbl, sal_uLong nIndex,
(void) pTbl;
#if OSL_DEBUG_LEVEL > 0
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];
const SwFmtAnchor &rAnch = pFmt->GetAnchor();