diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-04 10:20:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-07 09:42:23 +0200 |
commit | 439004122498b34433e2394d1d9c55c7d3666ab5 (patch) | |
tree | cb89fadfe33778ba5f277feb2e9f51f1876fd76d /ucb/source | |
parent | 875793d841165aaaaefa2c34b855e8f0f8a8c214 (diff) |
enable -Wrange-loop-analysis on clang
Change-Id: I2095308943c94ad16c110d5fac47715398eb5d39
Reviewed-on: https://gerrit.libreoffice.org/80187
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_content.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index 17499d4c9920..9f0607248c66 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -142,9 +142,9 @@ namespace uno::Sequence< sal_Bool > aBools( aCmisBools.size( ) ); sal_Bool* aBoolsArr = aBools.getArray( ); sal_Int32 i = 0; - for ( const auto& rCmisBool : aCmisBools ) + for ( bool bCmisBool : aCmisBools ) { - aBoolsArr[i++] = rCmisBool; + aBoolsArr[i++] = bCmisBool; } aValue <<= aBools; } |