include/svx/theme/ThemeColorPaletteManager.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 36e1e8d14dc177971db6b1f51b84c53392e7487a Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sun Jun 11 21:21:11 2023 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Mon Jun 12 09:12:02 2023 +0200 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.mcnam...@collabora.com> 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; }