diff options
author | Jan Holesovsky <kendy@collabora.com> | 2018-06-25 22:58:30 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-10-12 10:34:37 +0200 |
commit | 7da83a670b9988bf31a3385c708a2dbee03f73cd (patch) | |
tree | 0a082ae678196732860957463d6bd7974afdf429 /sc/source/core/data/colorscale.cxx | |
parent | 64aabbe88f2c0989565957033e1bf1e9a2c736d4 (diff) |
Conditional formatting: Allow to set the icon set CF via .uno: command.
When .uno:IconSetFormatDialog gets a parameter, it directly creates the
icon set conditional formatting with pre-selected values.
Change-Id: I75dda90e5ea9c191254acc24c564cda7b27243a5
Reviewed-on: https://gerrit.libreoffice.org/56429
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Reviewed-on: https://gerrit.libreoffice.org/61669
Tested-by: Jenkins
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sc/source/core/data/colorscale.cxx')
-rw-r--r-- | sc/source/core/data/colorscale.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx index da205819e895..84b107853914 100644 --- a/sc/source/core/data/colorscale.cxx +++ b/sc/source/core/data/colorscale.cxx @@ -156,10 +156,10 @@ ScColorScaleEntry::ScColorScaleEntry(): { } -ScColorScaleEntry::ScColorScaleEntry(double nVal, const Color& rCol): +ScColorScaleEntry::ScColorScaleEntry(double nVal, const Color& rCol, ScColorScaleEntryType eType): mnVal(nVal), maColor(rCol), - meType(COLORSCALE_VALUE), + meType(eType), mpFormat(nullptr) { } |