[Libreoffice-commits] core.git: sc/source
Katarina Behrens
Katarina.Behrens at cib.de
Mon Oct 26 11:48:03 PDT 2015
sc/source/ui/condformat/condformatdlgentry.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4f0ca33be7e6cb22ecc8853c1812fa649bfdf4d0
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date: Mon Oct 26 16:49:12 2015 +0100
tdf#86508: Traffic light colour scale for cond. formatting
Change-Id: I35584a36ba4a89187182af8828402040e4b091e4
Reviewed-on: https://gerrit.libreoffice.org/19609
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85 at hotmail.com>
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index d8cdaa1..55deff8 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 );
More information about the Libreoffice-commits
mailing list