summaryrefslogtreecommitdiff
path: root/comphelper/inc
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 /comphelper/inc
parent8039cd4d7db58921f7d35eeea93cd7f85a5e0815 (diff)
Remove some uses of OUString::setCharAt
Diffstat (limited to 'comphelper/inc')
-rw-r--r--comphelper/inc/comphelper/string.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/inc/comphelper/string.hxx b/comphelper/inc/comphelper/string.hxx
index 878b557db862..037c947d4953 100644
--- a/comphelper/inc/comphelper/string.hxx
+++ b/comphelper/inc/comphelper/string.hxx
@@ -426,7 +426,7 @@ namespace detail
{
rBuffer.setLength(nLen);
for (sal_Int32 i = nOrigLen; i < nLen; ++i)
- rBuffer.setCharAt(i, cFill);
+ rBuffer[i] = cFill;
}
return rBuffer;
}