diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 14:02:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 15:35:37 +0200 |
commit | 95dd183c41c52aa0ed9b5223ae7584f486103a78 (patch) | |
tree | 87b0221cf5ddfc69dc054820cac309e63230c2fb /svl/source/items/IndexedStyleSheets.cxx | |
parent | 8d54827762e2a6702a16b67724a6a5f393d72598 (diff) |
loplugin:constvars in solenv..svtools
Change-Id: Ieb0116321bbddd804db6d1789ea3521c5b220840
Reviewed-on: https://gerrit.libreoffice.org/77807
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source/items/IndexedStyleSheets.cxx')
-rw-r--r-- | svl/source/items/IndexedStyleSheets.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/IndexedStyleSheets.cxx b/svl/source/items/IndexedStyleSheets.cxx index 233c10e56093..4d71e7e6ff95 100644 --- a/svl/source/items/IndexedStyleSheets.cxx +++ b/svl/source/items/IndexedStyleSheets.cxx @@ -186,7 +186,7 @@ IndexedStyleSheets::FindStyleSheetPosition(const SfxStyleSheetBase& style) const void IndexedStyleSheets::Clear(StyleSheetDisposer& disposer) { - for (auto& rxStyleSheet : mStyleSheets) { + for (const auto& rxStyleSheet : mStyleSheets) { disposer.Dispose(rxStyleSheet); } mStyleSheets.clear(); |