diff options
author | August Sodora <augsod@gmail.com> | 2011-11-28 21:44:30 -0500 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2011-12-01 11:10:28 +0100 |
commit | 443a7229f96806e6bbece775cc7cd643e1c4a042 (patch) | |
tree | c1753b0704662d7d2730abe26a44c3993f0225dd /sc | |
parent | 549f928863d0c1625f0322f62bfdda827063725e (diff) |
Remove uses of charAt
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleCsvControl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx index 433385efcf39..14c5c0964537 100644 --- a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx +++ b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx @@ -464,7 +464,7 @@ sal_Unicode SAL_CALL ScAccessibleCsvRuler::getCharacter( sal_Int32 nIndex ) SolarMutexGuard aGuard; ensureAlive(); ensureValidIndex( nIndex ); - return maBuffer.charAt( nIndex ); + return maBuffer[nIndex]; } Sequence< PropertyValue > SAL_CALL ScAccessibleCsvRuler::getCharacterAttributes( sal_Int32 nIndex, @@ -579,7 +579,7 @@ TextSegment SAL_CALL ScAccessibleCsvRuler::getTextAtIndex( sal_Int32 nIndex, sal case AccessibleTextType::CHARACTER: { aResult.SegmentStart = nIndex; - aResultText.append( maBuffer.charAt( nIndex ) ); + aResultText.append(maBuffer[nIndex]); } break; @@ -588,7 +588,7 @@ TextSegment SAL_CALL ScAccessibleCsvRuler::getTextAtIndex( sal_Int32 nIndex, sal case AccessibleTextType::GLYPH: aResult.SegmentStart = nIndex; if( nRulerPos % 10 ) - aResultText.append( maBuffer.charAt( nIndex ) ); + aResultText.append(maBuffer[nIndex]); else aResultText.append( nRulerPos ); // string representation of sal_Int32!!! break; |