diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-05-18 20:46:06 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-05-19 09:11:27 +0200 |
commit | 2589f8a155d00b22078607ddd0229d155a394f3a (patch) | |
tree | 7dbd117b4f7b7e2e9521fa07abd0e76bdd6e59ab /cui/source | |
parent | 8a62f0a2124299709e3cce0463cc6ac2c2a9b12c (diff) |
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 <vmiklos@collabora.com>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/tabpages/tpcolor.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
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; |