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

akki95 akshaydeepiitr at gmail.com
Sun Jan 24 22:56:02 PST 2016


 include/tools/color.hxx            |    2 ++
 svtools/source/config/colorcfg.cxx |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 45e3e87ddcdfb14186ce6a9d8748fa4b31393600
Author: akki95 <akshaydeepiitr at gmail.com>
Date:   Sun Jan 24 01:02:39 2016 +0530

    tdf#87933 - Easier visibility of automatic page breaks.
    
    Defined additional named colors COL_GRAY3 and COL_gray7 in color.hxx
    
    Fixed the color scheme as required.
    
    Change-Id: Ia86acb2465d0978d08518f0a146df5574cc8fafc
    Reviewed-on: https://gerrit.libreoffice.org/21742
    Reviewed-by: jan iversen <jani at documentfoundation.org>
    Tested-by: jan iversen <jani at documentfoundation.org>

diff --git a/include/tools/color.hxx b/include/tools/color.hxx
index 9162a9f..e7fb8ec 100644
--- a/include/tools/color.hxx
+++ b/include/tools/color.hxx
@@ -44,6 +44,8 @@ typedef sal_uInt32 ColorData;
 #define COL_MAGENTA                 RGB_COLORDATA( 0x80, 0x00, 0x80 )
 #define COL_BROWN                   RGB_COLORDATA( 0x80, 0x80, 0x00 )
 #define COL_GRAY                    RGB_COLORDATA( 0x80, 0x80, 0x80 )
+#define COL_GRAY3                   RGB_COLORDATA( 0xCC, 0xCC, 0xCC )
+#define COL_GRAY7                   RGB_COLORDATA( 0x66, 0x66, 0x66 )
 #define COL_LIGHTGRAY               RGB_COLORDATA( 0xC0, 0xC0, 0xC0 )
 #define COL_LIGHTBLUE               RGB_COLORDATA( 0x00, 0x00, 0xFF )
 #define COL_LIGHTGREEN              RGB_COLORDATA( 0x00, 0xFF, 0x00 )
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index 1abdc6c..bb6db69 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -437,10 +437,10 @@ Color ColorConfig::GetDefaultColor(ColorConfigEntry eEntry)
         COL_LIGHTGREEN, // HTMLCOMMENT
         COL_LIGHTRED, // HTMLKEYWORD
         COL_GRAY, // HTMLUNKNOWN
-        0xcccccc, // CALCGRID
+        COL_GRAY3, // CALCGRID
         COL_BLUE, //CALCPAGEBREAK
         0x2300dc, //CALCPAGEBREAKMANUAL
-        0x666666, //CALCPAGEBREAKAUTOMATIC
+        COL_GRAY7, //CALCPAGEBREAKAUTOMATIC
         COL_LIGHTBLUE, // CALCDETECTIVE
         COL_LIGHTRED, // CALCDETECTIVEERROR
         0xef0fff, // CALCREFERENCE


More information about the Libreoffice-commits mailing list