sc/source/ui/condformat/condformatdlgentry.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4f0ca33be7e6cb22ecc8853c1812fa649bfdf4d0
Author: Katarina Behrens <katarina.behr...@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 <c...@libreoffice.org>
    Reviewed-by: Yousuf Philips <philip...@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 );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to