summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-06-11 21:21:11 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-06-12 09:12:02 +0200
commit36e1e8d14dc177971db6b1f51b84c53392e7487a (patch)
tree0b39bc3b51553b61a5c84887c2dc74bfc583ede3 /include
parent953ef30494661788b2e980ece84b62c653d77321 (diff)
cid#1532370 Uninitialized scalar variable
Change-Id: I5673443c75f5698884d5fc7ccfec1c82b8ca88ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152860 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/theme/ThemeColorPaletteManager.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/theme/ThemeColorPaletteManager.hxx b/include/svx/theme/ThemeColorPaletteManager.hxx
index d575c1038750..7bb8526a2409 100644
--- a/include/svx/theme/ThemeColorPaletteManager.hxx
+++ b/include/svx/theme/ThemeColorPaletteManager.hxx
@@ -41,7 +41,7 @@ struct SVXCORE_DLLPUBLIC ThemePaletteEffect
struct SVXCORE_DLLPUBLIC ThemePaletteColorData
{
Color maBaseColor;
- model::ThemeColorType meThemeColorType;
+ model::ThemeColorType meThemeColorType = model::ThemeColorType::Unknown;
std::array<ThemePaletteEffect, 6> maEffects;
sal_Int16 getLumMod(sal_uInt16 nEffect) const { return maEffects[nEffect].mnLumMod; }