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

Stephan Bergmann sbergman at redhat.com
Sun Sep 20 11:53:42 PDT 2015


 svx/source/svdraw/svdotextdecomposition.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2ff09b059a096df109a3be3778e77dde9a4458cf
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun Sep 20 20:53:12 2015 +0200

    loplugin:loopvartoosmall
    
    Change-Id: I5e3506492f75e0f8e7ce770713b424a854d9813d

diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx
index b9f4ca9..e946be3 100644
--- a/svx/source/svdraw/svdotextdecomposition.cxx
+++ b/svx/source/svdraw/svdotextdecomposition.cxx
@@ -1421,7 +1421,7 @@ void SdrTextObj::impHandleChainingEventsDuringDecomposition(SdrOutliner &rOutlin
 
     // Some debug output
     size_t nObjCount = pPage->GetObjCount();
-    for (unsigned i = 0; i < nObjCount; i++) {
+    for (size_t i = 0; i < nObjCount; i++) {
         SdrTextObj *pCurObj = static_cast<SdrTextObj *>(pPage->GetObj(i));
 
         if (pCurObj == this) {


More information about the Libreoffice-commits mailing list