summaryrefslogtreecommitdiff
path: root/svtools
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 /svtools
parent8039cd4d7db58921f7d35eeea93cd7f85a5e0815 (diff)
Remove some uses of OUString::setCharAt
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/graphic/grfcache.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/graphic/grfcache.cxx b/svtools/source/graphic/grfcache.cxx
index 3299deb23695..e01f9d9abcb3 100644
--- a/svtools/source/graphic/grfcache.cxx
+++ b/svtools/source/graphic/grfcache.cxx
@@ -141,16 +141,16 @@ rtl::OString GraphicID::GetIDString() const
aHexStr.setLength(32);
for( nShift = 28; nShift >= 0; nShift -= 4 )
- aHexStr.setCharAt(nIndex++, aHexData[ ( mnID1 >> (sal_uInt32) nShift ) & 0xf ]);
+ aHexStr[nIndex++] = aHexData[ ( mnID1 >> (sal_uInt32) nShift ) & 0xf ];
for( nShift = 28; nShift >= 0; nShift -= 4 )
- aHexStr.setCharAt(nIndex++, aHexData[ ( mnID2 >> (sal_uInt32) nShift ) & 0xf ]);
+ aHexStr[nIndex++] = aHexData[ ( mnID2 >> (sal_uInt32) nShift ) & 0xf ];
for( nShift = 28; nShift >= 0; nShift -= 4 )
- aHexStr.setCharAt(nIndex++, aHexData[ ( mnID3 >> (sal_uInt32) nShift ) & 0xf ]);
+ aHexStr[nIndex++] = aHexData[ ( mnID3 >> (sal_uInt32) nShift ) & 0xf ];
for( nShift = 28; nShift >= 0; nShift -= 4 )
- aHexStr.setCharAt(nIndex++, aHexData[ ( mnID4 >> (sal_uInt32) nShift ) & 0xf ]);
+ aHexStr[nIndex++] = aHexData[ ( mnID4 >> (sal_uInt32) nShift ) & 0xf ];
return aHexStr.makeStringAndClear();
}