diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-02-16 20:02:01 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-06-30 15:58:04 +0200 |
commit | 75c6459d568744f4d69fead25adc1763d80878d4 (patch) | |
tree | c23afff2c8c57f1970d512c4aa1d5df0f7d1ec25 /cui | |
parent | 3d329c2fa04e1a75ff1a5950d85a7ce1ea27a38e (diff) |
sd theme: add doc model for shape fill color
In preparation of adding UNO API for this.
(cherry picked from commit 8cc70d18c4507a746607fe5922b7c5e94b7f7579)
Change-Id: Iecb2e44c43bca9e892fcb6242870ec12faa48be5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136669
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 7e1fb4077ca1..26734cb66247 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -1600,9 +1600,9 @@ bool SvxCharEffectsPage::FillItemSetColor_Impl( SfxItemSet& rSet ) if (aSelectedColor.m_nThemeIndex != -1) { // The color was picked from the theme palette, remember its index. - aItem.SetThemeIndex(aSelectedColor.m_nThemeIndex); - aItem.SetLumMod(aSelectedColor.m_nLumMod); - aItem.SetLumOff(aSelectedColor.m_nLumOff); + aItem.GetThemeColor().SetThemeIndex(aSelectedColor.m_nThemeIndex); + aItem.GetThemeColor().SetLumMod(aSelectedColor.m_nLumMod); + aItem.GetThemeColor().SetLumOff(aSelectedColor.m_nLumOff); } rSet.Put(aItem); |