diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 11:15:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 13:59:25 +0200 |
commit | 316b07d0af06948c69c1375c67c01903b8eeb134 (patch) | |
tree | d51f01c2f443c82de5a078b90f189af787308ccf /sc/source/ui/dbgui/PivotLayoutTreeList.cxx | |
parent | ff6e8c73adef7c86db12287948025954a4fc7746 (diff) |
loplugin:constvars in package..sc
Change-Id: Ibaa9ebd6440d9229ba313f4c130f5752d432b338
Reviewed-on: https://gerrit.libreoffice.org/77792
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/dbgui/PivotLayoutTreeList.cxx')
-rw-r--r-- | sc/source/ui/dbgui/PivotLayoutTreeList.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeList.cxx b/sc/source/ui/dbgui/PivotLayoutTreeList.cxx index c8d2aef69234..6882a19ee6e7 100644 --- a/sc/source/ui/dbgui/PivotLayoutTreeList.cxx +++ b/sc/source/ui/dbgui/PivotLayoutTreeList.cxx @@ -69,7 +69,7 @@ void ScPivotLayoutTreeList::FillFields(ScPivotFieldVector& rFieldVector) mxControl->clear(); maItemValues.clear(); - for (ScPivotField& rField : rFieldVector) + for (const ScPivotField& rField : rFieldVector) { OUString aLabel = mpParent->GetItem( rField.nCol )->maName; ScItemValue* pItemValue = new ScItemValue( aLabel, rField.nCol, rField.nFuncMask ); |