Kaydet (Commit) 4f0ca33b authored tarafından Katarina Behrens's avatar Katarina Behrens Kaydeden (comit) Yousuf Philips

tdf#86508: Traffic light colour scale for cond. formatting

Change-Id: I35584a36ba4a89187182af8828402040e4b091e4
Reviewed-on: https://gerrit.libreoffice.org/19609Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarYousuf Philips <philipz85@hotmail.com>
üst 7bcd8ed0
......@@ -999,9 +999,9 @@ void ScColorScale3FrmtEntry::Init()
if(pEntry->GetColor() == Color(COL_LIGHTRED))
maLbColMin->SelectEntryPos(i);
if(pEntry->GetColor() == Color(COL_GREEN))
if(pEntry->GetColor() == Color(COL_YELLOW))
maLbColMiddle->SelectEntryPos(i);
if(pEntry->GetColor() == Color(COL_LIGHTBLUE))
if(pEntry->GetColor() == Color(0x00CC00)) // Green 3
maLbColMax->SelectEntryPos(i);
}
maLbColMin->SetUpdateMode( true );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment