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

Feyza Yavuz feyzaayavuz at gmail.com
Tue Oct 27 08:45:24 PDT 2015


 svtools/source/config/colorcfg.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit ce15c93cec284440244e63bea75a016e9f2c9f04
Author: Feyza Yavuz <feyzaayavuz at gmail.com>
Date:   Sat Oct 24 11:52:40 2015 +0300

    tdf#60906 make color configuration consistent
    
    Change-Id: I8b9b05ca90f055be77f1b5d8602be9d880f1d14f
    Reviewed-on: https://gerrit.libreoffice.org/19571
    Reviewed-by: Justin Luth <justin_luth at sil.org>
    Tested-by: Justin Luth <justin_luth at sil.org>
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index 6657cfd..a7d9ce3 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -418,7 +418,7 @@ Color ColorConfig::GetDefaultColor(ColorConfigEntry eEntry)
     static const sal_Int32 aAutoColors[] =
     {
         COL_WHITE, // DOCCOLOR
-        0xc0c0c0, // DOCBOUNDARIES
+        COL_LIGHTGRAY, // DOCBOUNDARIES
         0xDFDFDE, // APPBACKGROUND
         COL_LIGHTGRAY, // OBJECTBOUNDARIES
         COL_LIGHTGRAY, // TABLEBOUNDARIES
@@ -431,7 +431,7 @@ Color ColorConfig::GetDefaultColor(ColorConfigEntry eEntry)
         COL_LIGHTGRAY, // WRITERTEXTGRID
         COL_LIGHTGRAY, // WRITERFIELDSHADIN
         COL_LIGHTGRAY, // WRITERIDXSHADINGS
-        0, // WRITERDIRECTCURSOR
+        COL_BLACK, // WRITERDIRECTCURSOR
         COL_GREEN,  //WRITERSCRIPTINDICATOR
         COL_LIGHTGRAY, //WRITERSECTIONBOUNDARIES
         0x0369a3, //WRITERHEADERFOOTERMARK,
@@ -457,9 +457,9 @@ Color ColorConfig::GetDefaultColor(ColorConfigEntry eEntry)
         COL_BLUE, // BASICKEYWORD   ,
         COL_RED, //BASICERROR
         0x009900, // SQLIDENTIFIER
-        0x000000, // SQLNUMBER
+        COL_BLACK, // SQLNUMBER
         0xCE7B00, // SQLSTRING
-        0x000000, // SQLOPERATOR
+        COL_BLACK, // SQLOPERATOR
         0x0000E6, // SQLKEYWORD
         0x259D9D, // SQLPARAMTER
         0x969696,// SQLCOMMENT


More information about the Libreoffice-commits mailing list