summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2015-10-26 16:49:12 +0100
committerYousuf Philips <philipz85@hotmail.com>2015-10-26 18:47:38 +0000
commit4f0ca33be7e6cb22ecc8853c1812fa649bfdf4d0 (patch)
tree063ca41f1c1613dbff3515444d79d30f2c73fe8c
parent7bcd8ed0faaefb8fe3783d6e31dea5c727eddc2a (diff)
tdf#86508: Traffic light colour scale for cond. formatting
Change-Id: I35584a36ba4a89187182af8828402040e4b091e4 Reviewed-on: https://gerrit.libreoffice.org/19609 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
-rw-r--r--sc/source/ui/condformat/condformatdlgentry.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index d8cdaa173d14..55deff8753ba 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -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 );