summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/ThemePanel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/sidebar/ThemePanel.cxx')
-rw-r--r--sw/source/uibase/sidebar/ThemePanel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/sidebar/ThemePanel.cxx b/sw/source/uibase/sidebar/ThemePanel.cxx
index 81bf6a486ae2..2047c2aab5cb 100644
--- a/sw/source/uibase/sidebar/ThemePanel.cxx
+++ b/sw/source/uibase/sidebar/ThemePanel.cxx
@@ -465,7 +465,7 @@ ThemePanel::ThemePanel(vcl::Window* pParent,
{
const svx::ColorSet& rColorSet = aColorSets[i];
- OUString aName = rColorSet.getName();
+ const OUString& aName = rColorSet.getName();
BitmapEx aPreview = GenerateColorPreview(rColorSet);
mpValueSetColors->InsertItem(i, Image(aPreview), aName);
}