[Libreoffice-commits] core.git: sc/source

Yousuf Philips philipz85 at hotmail.com
Fri Nov 10 22:14:37 UTC 2017


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

New commits:
commit 7df058224a7cabb1cbfc8564ffe22a6844fb2a1f
Author: Yousuf Philips <philipz85 at hotmail.com>
Date:   Fri Nov 10 18:54:47 2017 +0400

    tdf#86508 Use Yellow and Green for 2 entry color scale
    
    Change-Id: Icde57593fb2cb589465c574894ab10184702655a
    Reviewed-on: https://gerrit.libreoffice.org/44603
    Reviewed-by: Heiko Tietze <tietze.heiko at googlemail.com>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index b2a55fc3aca7..968576a8d2ba 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -786,8 +786,8 @@ void ScColorScale2FrmtEntry::Init()
 {
     maLbEntryTypeMin->SetSelectHdl( LINK( this, ScColorScale2FrmtEntry, EntryTypeHdl ) );
     maLbEntryTypeMax->SetSelectHdl( LINK( this, ScColorScale2FrmtEntry, EntryTypeHdl ) );
-    maLbColMin->SelectEntry(Color(COL_LIGHTRED));
-    maLbColMax->SelectEntry(Color(COL_LIGHTBLUE));
+    maLbColMin->SelectEntry(Color(0xFFF685)); // Light Yellow 2
+    maLbColMax->SelectEntry(Color(0x65C295)); // Light Green 2
 }
 
 ScFormatEntry* ScColorScale2FrmtEntry::createColorscaleEntry() const


More information about the Libreoffice-commits mailing list