clang-tidy modernize-loop-convert in c*

Change-Id: I77d2548f8be97792660761e6156cd24734a95aaf
This commit is contained in:
Noel Grandin
2016-04-21 11:03:55 +02:00
parent 8762aa986d
commit e1af7f0c43
43 changed files with 260 additions and 303 deletions

View File

@@ -144,8 +144,8 @@ Reference< XComponentContext > SAL_CALL bootstrap()
throw BootstrapException( "random pool error!" );
rtl_random_destroyPool( hPool );
::rtl::OUStringBuffer buf("uno");
for ( sal_uInt32 i = 0; i < ARLEN( bytes ); ++i )
buf.append( static_cast< sal_Int32 >( bytes[ i ] ) );
for (unsigned char byte : bytes)
buf.append( static_cast< sal_Int32 >( byte ) );
OUString sPipeName( buf.makeStringAndClear() );
// arguments