summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-21 10:26:48 +0200
committerNoel Grandin <noel@peralex.com>2016-04-21 10:27:17 +0200
commit8762aa986dbca42e61cc8fb1b2c1d2ca66bcfcbe (patch)
treeaf1f197feb0a40e819cc4ed74efce934935c9cae /bridges
parentb19ac3c4c6b4a41a1f3acac68b299fd676428a87 (diff)
clang-tidy modernize-loop-convert in b*
Change-Id: I8ac6eb59e213eafa78e3dc4578738b53e8adef5b
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/shared/component.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/shared/component.cxx b/bridges/source/cpp_uno/shared/component.cxx
index 02b683861c66..97a0214f6705 100644
--- a/bridges/source/cpp_uno/shared/component.cxx
+++ b/bridges/source/cpp_uno/shared/component.cxx
@@ -60,9 +60,9 @@ const OUString & SAL_CALL cppu_cppenv_getStaticOIdPart()
// good guid
sal_uInt8 ar[16];
::rtl_getGlobalProcessId( ar );
- for ( sal_Int32 i = 0; i < 16; ++i )
+ for (unsigned char i : ar)
{
- aRet.append( (sal_Int32)ar[i], 16 );
+ aRet.append( (sal_Int32)i, 16 );
}
#if (defined(__GNUC__) && defined(__APPLE__))
s_pStaticOidPart = new OUString( aRet.makeStringAndClear() );