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 --- scaddins/source/datefunc/datefunc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scaddins/source/datefunc') 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; -- cgit