cui/source/tabpages/tpcolor.cxx | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit 2589f8a155d00b22078607ddd0229d155a394f3a Author: Miklos Vajna <[email protected]> AuthorDate: Wed May 18 20:46:06 2022 +0200 Commit: Miklos Vajna <[email protected]> CommitDate: Thu May 19 09:11:27 2022 +0200 sd theme: add UI (area dialog) for shape fill color effects SvxColorTabPage::aCurrentColor already had these effects and XFillColorItem already had a way to store the effects, just connect them in SvxColorTabPage::FillItemSet(). Change-Id: Ie3f6c1916d2cfa3f26732e105b9bae101d70fc12 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134552 Tested-by: Jenkins Reviewed-by: Miklos Vajna <[email protected]> diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx index 507f93f58ef6..e65c49617701 100644 --- a/cui/source/tabpages/tpcolor.cxx +++ b/cui/source/tabpages/tpcolor.cxx @@ -242,6 +242,14 @@ bool SvxColorTabPage::FillItemSet( SfxItemSet* rSet ) { aColorItem.GetThemeColor().SetThemeIndex(aCurrentColor.m_nThemeIndex); } + if (aCurrentColor.m_nLumMod != 10000) + { + aColorItem.GetThemeColor().SetLumMod(aCurrentColor.m_nLumMod); + } + if (aCurrentColor.m_nLumOff != 0) + { + aColorItem.GetThemeColor().SetLumOff(aCurrentColor.m_nLumOff); + } rSet->Put( aColorItem ); rSet->Put( XFillStyleItem( drawing::FillStyle_SOLID ) ); return true;
