summaryrefslogtreecommitdiff
path: root/oox
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 /oox
parent8039cd4d7db58921f7d35eeea93cd7f85a5e0815 (diff)
Remove some uses of OUString::setCharAt
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ole/olehelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ole/olehelper.cxx b/oox/source/ole/olehelper.cxx
index 34b17bd69fd4..a04a2c6ac8dc 100644
--- a/oox/source/ole/olehelper.cxx
+++ b/oox/source/ole/olehelper.cxx
@@ -233,7 +233,7 @@ void lclAppendHex( OUStringBuffer& orBuffer, Type nValue )
static const sal_Unicode spcHexChars[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
orBuffer.setLength( orBuffer.getLength() + nWidth );
for( sal_Int32 nCharIdx = orBuffer.getLength() - 1, nCharEnd = nCharIdx - nWidth; nCharIdx > nCharEnd; --nCharIdx, nValue >>= 4 )
- orBuffer.setCharAt( nCharIdx, spcHexChars[ nValue & 0xF ] );
+ orBuffer[nCharIdx] = spcHexChars[ nValue & 0xF ];
}
OUString lclReadStdHlinkString( BinaryInputStream& rInStrm, bool bUnicode )