diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgelem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx index 0ac6bae0988f..ed1a14498c55 100644 --- a/sot/source/sdstor/stgelem.cxx +++ b/sot/source/sdstor/stgelem.cxx @@ -299,7 +299,7 @@ bool StgEntry::SetName( const OUString& rName ) } int i; - for( i = 0; i < aName.getLength() && i < 32; i++ ) + for( i = 0; i < rName.getLength() && i < 32; i++ ) { nName[ i ] = rName[ i ]; } @@ -307,7 +307,7 @@ bool StgEntry::SetName( const OUString& rName ) { nName[ i++ ] = 0; } - nNameLen = ( aName.getLength() + 1 ) << 1; + nNameLen = ( rName.getLength() + 1 ) << 1; return true; } |