summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-27 13:01:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-27 13:01:37 +0100
commit377efdcea0687f5b79e92874db15171043b3de97 (patch)
tree98608acba5586d120c10dcf2b48f0b24d7cfe980 /sot
parent431708c5eb27e6fa3675d17246891d717c0713ec (diff)
loplugin:loopvartoosmall
Change-Id: I3ada4fc8c8ebcf04962be03c048fb87bc0d6dbf8
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stgelem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
index 12ed731d22bd..0fb80c4a36cc 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 ];