summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgelem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/stgelem.cxx')
-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 ];