summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakki95 <akshaydeepiitr@gmail.com>2016-01-24 01:02:39 +0530
committerjan iversen <jani@documentfoundation.org>2016-01-25 06:55:27 +0000
commit45e3e87ddcdfb14186ce6a9d8748fa4b31393600 (patch)
tree6ef40a863ea2dfe15033bba3a93b663f8d607cc2
parent752cd07d085ac0aadc99bd512d49072843139032 (diff)
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@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
-rw-r--r--include/tools/color.hxx2
-rw-r--r--svtools/source/config/colorcfg.cxx4
2 files changed, 4 insertions, 2 deletions
diff --git a/include/tools/color.hxx b/include/tools/color.hxx
index 9162a9f6a416..e7fb8ec2516d 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 1abdc6c59f6c..bb6db6978998 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