[Libreoffice-bugs] [Bug 125288] wrong Bar color name in the Data bar dialog (#0000FF instead of Blue)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 15 05:52:05 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125288

--- Comment #3 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to V Stuart Foote from comment #2)

And, the actual hard coded color set for maPositiveColor [1] is the color
constant COL_LIGHTBLUE -- ( 0x00, 0x00, 0xFF ) [2] 

Option #1 -- Could define a different constant to pick up the blue from
standard.soc

Option #2 -- shift UI use of conditional formatting from standard.soc to
tonal.soc, i.e. perform a palette change and pick up labeling from tonal.soc

Option #3 -- Could edit the COL_LIGHTBLUE to match the standard.soc (broader
potential impact across UI and in unit tests).

IMHO Option #2 seems a better way to correct this--not clear how many unit
tests would have to also be tweaked with Option #1, and Option #3 would be kind
of invasive.

=ref-=

[1]
https://opengrok.libreoffice.org/xref/core/sc/source/ui/condformat/condformatdlgentry.cxx?r=00ae441b#1107
[2]
https://opengrok.libreoffice.org/xref/core/include/tools/color.hxx?r=d14d1341#282

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190515/de2dab36/attachment.html>


More information about the Libreoffice-bugs mailing list