sot/source/sdstor/stgelem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 377efdcea0687f5b79e92874db15171043b3de97 Author: Stephan Bergmann <[email protected]> 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 ]; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
