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

Gabor Kelemen (via logerrit) logerrit at kemper.freedesktop.org
Tue Oct 8 14:43:03 UTC 2019


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

New commits:
commit 850123c8572f07eafc16eed2eb00b4d83945808b
Author:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Tue Aug 6 21:45:45 2019 +0200
Commit:     László Németh <nemeth at numbertext.org>
CommitDate: Tue Oct 8 16:41:37 2019 +0200

    tdf#125289 Use default colors from the new standard palette
    
    These look quite similar to the previous ones and
    we have translatable strings for them
    
    Change-Id: Ib40f4087830098341dcd32ce81673f6f187fe685
    Reviewed-on: https://gerrit.libreoffice.org/77074
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <heiko.tietze at documentfoundation.org>

diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index f14bcd066784..39170fcb9c77 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -774,8 +774,8 @@ void ScColorScale2FrmtEntry::Init()
 {
     mxLbEntryTypeMin->connect_changed( LINK( this, ScColorScale2FrmtEntry, EntryTypeHdl ) );
     mxLbEntryTypeMax->connect_changed( LINK( this, ScColorScale2FrmtEntry, EntryTypeHdl ) );
-    mxLbColMin->SelectEntry(Color(0xFFF685)); // Light Yellow 2
-    mxLbColMax->SelectEntry(Color(0x65C295)); // Light Green 2
+    mxLbColMin->SelectEntry(Color(0xffff6d)); // Light Yellow 2
+    mxLbColMax->SelectEntry(Color(0x77bc65)); // Light Green 2
 }
 
 ScFormatEntry* ScColorScale2FrmtEntry::createColorscaleEntry() const
@@ -920,7 +920,7 @@ void ScColorScale3FrmtEntry::Init()
     mxLbEntryTypeMiddle->connect_changed( LINK( this, ScColorScale3FrmtEntry, EntryTypeHdl ) );
     mxLbColMin->SelectEntry(COL_LIGHTRED);
     mxLbColMiddle->SelectEntry(COL_YELLOW);
-    mxLbColMax->SelectEntry(Color(0x00CC00));
+    mxLbColMax->SelectEntry(Color(0x00a933));
 }
 
 ScFormatEntry* ScColorScale3FrmtEntry::createColorscaleEntry() const


More information about the Libreoffice-commits mailing list