diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 15:21:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-16 08:11:27 +0200 |
commit | a0073744aac89648e89506b79e227b17dacf58d0 (patch) | |
tree | d40b1c631884a0ce4428be716f550b12921ab21e /ucb/source/ucp/cmis/cmis_content.cxx | |
parent | 61e02561aa659d829a6786609fc57d99fd8652b4 (diff) |
loplugin:sequenceloop in ucb..unotools
Change-Id: Ie52d993c185ba43386b494baad0a484d5b365499
Reviewed-on: https://gerrit.libreoffice.org/77532
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/cmis/cmis_content.cxx')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_content.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index c51459a4b417..e71d077727fc 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -589,7 +589,7 @@ namespace cmis iCmisProps >>= aPropsSeq; map< string, libcmis::PropertyPtr > aProperties; - for ( const auto& rProp : aPropsSeq ) + for ( const auto& rProp : std::as_const(aPropsSeq) ) { std::string id = OUSTR_TO_STDSTR( rProp.Id ); libcmis::PropertyPtr prop = lcl_unoToCmisProperty( rProp ); |