summaryrefslogtreecommitdiff
path: root/sc/source/ui/theme
diff options
context:
space:
mode:
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();