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 /scaddins | |
parent | 549f928863d0c1625f0322f62bfdda827063725e (diff) |
Remove uses of charAt
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/datefunc/datefunc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index 6c5d0fa72b78..e3d11bdbbb0c 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -948,7 +948,7 @@ OUString SAL_CALL ScaDateAddIn::getRot13( const OUString& aSrcString ) throw( un OUStringBuffer aBuffer( aSrcString ); for( sal_Int32 nIndex = 0; nIndex < aBuffer.getLength(); nIndex++ ) { - sal_Unicode cChar = aBuffer.charAt( nIndex ); + sal_Unicode cChar = aBuffer[nIndex]; if( ((cChar >= 'a') && (cChar <= 'z') && ((cChar += 13) > 'z')) || ((cChar >= 'A') && (cChar <= 'Z') && ((cChar += 13) > 'Z')) ) cChar -= 26; |