include/svx/theme/ThemeColorPaletteManager.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 75d64db833fcc4a9882534dc7177b2dc6f203353 Author: Caolán McNamara <[email protected]> AuthorDate: Sun Jun 11 21:21:11 2023 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Tue Jun 13 12:41:46 2023 +0200 cid#1532370 Uninitialized scalar variable Change-Id: I5673443c75f5698884d5fc7ccfec1c82b8ca88ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152875 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Tomaž Vajngerl <[email protected]> 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; }
