summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorAugust Sodora <augsod@gmail.com>2011-11-28 21:44:30 -0500
committerThorsten Behrens <tbehrens@suse.com>2011-12-01 11:10:28 +0100
commit443a7229f96806e6bbece775cc7cd643e1c4a042 (patch)
treec1753b0704662d7d2730abe26a44c3993f0225dd /oox
parent549f928863d0c1625f0322f62bfdda827063725e (diff)
Remove uses of charAt
Diffstat (limited to 'oox')
-rw-r--r--oox/source/xls/worksheetbuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/xls/worksheetbuffer.cxx b/oox/source/xls/worksheetbuffer.cxx
index 0214da3a286c..84ffb4c955b8 100644
--- a/oox/source/xls/worksheetbuffer.cxx
+++ b/oox/source/xls/worksheetbuffer.cxx
@@ -183,7 +183,7 @@ OUString lclQuoteName( const OUString& rName )
OUStringBuffer aBuffer( rName );
// duplicate all quote characters
for( sal_Int32 nPos = aBuffer.getLength() - 1; nPos >= 0; --nPos )
- if( aBuffer.charAt( nPos ) == '\'' )
+ if( aBuffer[nPos] == '\'' )
aBuffer.insert( nPos, sal_Unicode( '\'' ) );
// add outer quotes and return
return aBuffer.insert( 0, sal_Unicode( '\'' ) ).append( sal_Unicode( '\'' ) ).makeStringAndClear();