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

Noel Grandin noel at peralex.com
Mon Oct 5 23:50:14 PDT 2015


 sw/source/uibase/misc/redlndlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eb6381435fb06c232bdc6b42c2bf0cd711c0bbbd
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Oct 6 08:49:33 2015 +0200

    loplugin:loopvartoosmall
    
    Change-Id: I502a7b8b2d18c9bd5c82e8abd8e3d98f21e8c446

diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx
index 322718f..9bf3477 100644
--- a/sw/source/uibase/misc/redlndlg.cxx
+++ b/sw/source/uibase/misc/redlndlg.cxx
@@ -526,7 +526,7 @@ sal_uInt16 SwRedlineAcceptDlg::CalcDiff(sal_uInt16 nStart, bool bChild)
 
     // have entries been deleted?
     const SwRedlineData *pRedlineData = &rRedln.GetRedlineData();
-    for (sal_uInt16 i = nStart + 1; i < m_RedlineParents.size(); i++)
+    for (size_t i = nStart + 1; i < m_RedlineParents.size(); i++)
     {
         if (m_RedlineParents[i]->pData == pRedlineData)
         {


More information about the Libreoffice-commits mailing list