From 443a7229f96806e6bbece775cc7cd643e1c4a042 Mon Sep 17 00:00:00 2001 From: August Sodora Date: Mon, 28 Nov 2011 21:44:30 -0500 Subject: Remove uses of charAt --- oox/source/xls/worksheetbuffer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oox') 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(); -- cgit