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

Stephan Bergmann sbergman at redhat.com
Thu Aug 27 14:21:46 PDT 2015


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

New commits:
commit 526ea240d1ac049e44d4d017f11ed998d3cc9b35
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Aug 27 23:21:19 2015 +0200

    loplugin:loopvartoosmall
    
    Change-Id: Ia13b26f937f4e18c895b278ee3032ae3771a9259

diff --git a/sw/source/uibase/sidebar/WrapPropertyPanel.cxx b/sw/source/uibase/sidebar/WrapPropertyPanel.cxx
index 00c6435..17ec875 100644
--- a/sw/source/uibase/sidebar/WrapPropertyPanel.cxx
+++ b/sw/source/uibase/sidebar/WrapPropertyPanel.cxx
@@ -203,7 +203,7 @@ void WrapPropertyPanel::UpdateSpacingLB()
 {
     if( (nLeft == nRight) && (nTop == nBottom) && (nLeft == nTop) )
     {
-        for(sal_uInt16 i = 0; i < mpSpacingLB->GetEntryCount(); i++)
+        for(sal_Int32 i = 0; i < mpSpacingLB->GetEntryCount(); i++)
         {
             if(reinterpret_cast<sal_uLong>(mpSpacingLB->GetEntryData(i)) == nLeft )
             {


More information about the Libreoffice-commits mailing list