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

Stephan Bergmann sbergman at redhat.com
Mon Feb 27 12:02:09 UTC 2017


 sot/source/sdstor/stgelem.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 377efdcea0687f5b79e92874db15171043b3de97
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Feb 27 13:01:37 2017 +0100

    loplugin:loopvartoosmall
    
    Change-Id: I3ada4fc8c8ebcf04962be03c048fb87bc0d6dbf8

diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
index 12ed731..0fb80c4 100644
--- a/sot/source/sdstor/stgelem.cxx
+++ b/sot/source/sdstor/stgelem.cxx
@@ -323,7 +323,7 @@ bool StgEntry::SetName( const OUString& rName )
         m_aName = m_aName.copy(0, nMaxLegalStr);
     }
 
-    sal_uInt16 i;
+    sal_Int32 i;
     for( i = 0; i < rName.getLength() && i <= nMaxLegalStr; i++ )
     {
         m_nName[ i ] = rName[ i ];


More information about the Libreoffice-commits mailing list