summaryrefslogtreecommitdiff
path: root/sc/source/ui/theme
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-11-11 19:34:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-11-12 07:25:57 +0100
commit22a9cfbc9cc9577b08493828f3192262f76e7ac9 (patch)
treea4ce93e21453327a18f6a10142de7bb812f92972 /sc/source/ui/theme
parent554861a3e25c047f3b44e8154f80456985c83402 (diff)
loplugin:reftotemp in sc
Change-Id: Ibd0efec208447d0ad3f5d85354cbfc7d276064af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176420 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/theme')
-rw-r--r--sc/source/ui/theme/ThemeColorChanger.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/theme/ThemeColorChanger.cxx b/sc/source/ui/theme/ThemeColorChanger.cxx
index a8a6583ddd6e..0654f9bc498e 100644
--- a/sc/source/ui/theme/ThemeColorChanger.cxx
+++ b/sc/source/ui/theme/ThemeColorChanger.cxx
@@ -254,8 +254,8 @@ void changeSparklines(ScDocShell& rDocShell, model::ColorSet const& rColorSet)
auto* pSparklineList = rDocument.GetSparklineList(nTab);
if (pSparklineList && !pSparklineList->getSparklineGroups().empty())
{
- auto const& rSparklineGroups = pSparklineList->getSparklineGroups();
- for (auto const& rSparklineGroup : rSparklineGroups)
+ auto const aSparklineGroups = pSparklineList->getSparklineGroups();
+ for (auto const& rSparklineGroup : aSparklineGroups)
{
auto aAttributes = rSparklineGroup->getAttributes();