summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorAugust Sodora <augsod@gmail.com>2011-11-26 00:48:17 -0500
committerAugust Sodora <augsod@gmail.com>2011-11-26 00:49:26 -0500
commit93253ee6ab355a0590e9632e2ce2f024af15c535 (patch)
treeb2fe179dca06062786ce4d243f9e7bceab3f0c00 /scaddins
parent8039cd4d7db58921f7d35eeea93cd7f85a5e0815 (diff)
Remove some uses of OUString::setCharAt
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/datefunc/datefunc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx
index 75a538b4f44e..6c5d0fa72b78 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -952,7 +952,7 @@ OUString SAL_CALL ScaDateAddIn::getRot13( const OUString& aSrcString ) throw( un
if( ((cChar >= 'a') && (cChar <= 'z') && ((cChar += 13) > 'z')) ||
((cChar >= 'A') && (cChar <= 'Z') && ((cChar += 13) > 'Z')) )
cChar -= 26;
- aBuffer.setCharAt( nIndex, cChar );
+ aBuffer[nIndex] = cChar;
}
return aBuffer.makeStringAndClear();
}