diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-12-20 11:30:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-12-20 16:53:21 +0100 |
commit | 1af23f2679b34f0631cf77d457ed4da3836ab214 (patch) | |
tree | bec68a8620ce9b0feed73496adf46eb728bebbb9 /svtools | |
parent | 8c0a015f7f4a007b1cb6ac293838d75741f8ae0a (diff) |
weld DefaultShapesPanel
Change-Id: I7bdd1e15f525fad99394f4ca4360bf7e1339b33a
Reviewed-on: https://gerrit.libreoffice.org/85594
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/valueset.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index 6b8802ac159a..946c27a6d957 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -3981,4 +3981,12 @@ Image SvtValueSet::GetItemImage(sal_uInt16 nItemId) const return Image(); } +void SvtValueSet::SetColor(const Color& rColor) +{ + maColor = rColor; + mbFormat = true; + if (IsReallyVisible() && IsUpdateMode()) + Invalidate(); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |