diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-02-16 20:02:01 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-02-17 08:23:15 +0100 |
commit | 8cc70d18c4507a746607fe5922b7c5e94b7f7579 (patch) | |
tree | 92b23704bcabac77dfa5b896833ef6c59aec6183 /cui | |
parent | b447be3ccba686c4e35d61b05b50d31045c9d1ac (diff) |
sd theme: add doc model for shape fill color
In preparation of adding UNO API for this.
Change-Id: Iecb2e44c43bca9e892fcb6242870ec12faa48be5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130050
Tested-by: Jenkins
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 c3f5984e6ea4..1d2fed77c86e 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); |