diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 12:53:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 20:22:18 +0200 |
commit | f23f9d38db7e0b586130af88c7424cc3d85bc2d2 (patch) | |
tree | ba8c0129c84d768b1dcff39f6d9b05f389235ea1 /scaddins | |
parent | 16d7e22d78cdeac149ee874f803292b3e2634e0a (diff) |
loplugin:sequenceloop in scaddins..scripting
Change-Id: I25044332e107b630b257e48d95ee9272145ed344
Reviewed-on: https://gerrit.libreoffice.org/77524
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysishelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index c608732b14d6..502e47a5d252 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -1481,7 +1481,7 @@ void SortedIndividualInt32List::InsertHolidayList( if( !(rHolAny >>= aAnySeq) ) throw lang::IllegalArgumentException(); - for( const uno::Sequence< uno::Any >& rSubSeq : aAnySeq ) + for( const uno::Sequence< uno::Any >& rSubSeq : std::as_const(aAnySeq) ) { for( const uno::Any& rAny : rSubSeq ) InsertHolidayList( rAnyConv, rAny, nNullDate, false/*bInsertOnWeekend*/ ); @@ -2036,7 +2036,7 @@ void ComplexList::Append( const uno::Sequence< uno::Any >& aMultPars ) if( !(r >>= aValArr) ) throw lang::IllegalArgumentException(); - for( const uno::Sequence< uno::Any >& rArr : aValArr ) + for( const uno::Sequence< uno::Any >& rArr : std::as_const(aValArr) ) Append( rArr ); } break; |