diff options
author | August Sodora <augsod@gmail.com> | 2011-11-26 00:48:17 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2011-11-26 00:49:26 -0500 |
commit | 93253ee6ab355a0590e9632e2ce2f024af15c535 (patch) | |
tree | b2fe179dca06062786ce4d243f9e7bceab3f0c00 /oox/source/ole | |
parent | 8039cd4d7db58921f7d35eeea93cd7f85a5e0815 (diff) |
Remove some uses of OUString::setCharAt
Diffstat (limited to 'oox/source/ole')
-rw-r--r-- | oox/source/ole/olehelper.cxx | 2 |
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 ) |