[Libreoffice-commits] core.git: sw/source

Christoph Lutz christoph.lutz_ml at cib.de
Tue Apr 28 08:58:58 PDT 2015


 sw/source/core/layout/frmtool.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4de83e2c322509c0fb1b989f7e4898728fc4a408
Author: Christoph Lutz <christoph.lutz_ml at cib.de>
Date:   Tue Apr 28 17:55:11 2015 +0200

    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 at cib.de>
    Tested-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx
index f61907a..9cb3dae 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();


More information about the Libreoffice-commits mailing list